# Class Encoder

Class that encodes a JSON document object into a flat string format

Namespace: OpenCloud\Image\Resource\JsonPatch
Package: OpenCloud\Images\Resource\JsonPatch
Located at OpenCloud/Image/Resource/JsonPatch/Encoder.php

Methods summary
`public static string` | # `encode( array $operations )` Encode the Encode the #### Parameters $operations `array` $operations #### Returns `string`
`public static string` | # `transform( mixed $value )` Search a given string and transform any reserved characters into their safe version Search a given string and transform any reserved characters into their safe version #### Parameters $value `mixed` $value #### Returns `string`

Properties summary
`protected static array` | $transformations | `array( '~' => '~0', '/' => '~1' )` | # Required transformations for reserved characters Required transformations for reserved characters