$pricingRules->toJson()
Converts the object into a JSON string
$pricingRules->toJson(): string
Return type
string
Exceptions
| Type | Description |
|---|---|
JsonException |
for invalid JSON |
Parent class
Wagnerwagner\Merx\PricingRules inherited from Kirby\Toolkit\Collection