parse() parse( $args) : array Parse JSON string to an array. Parameters $args Throws \Elastica\Exception\JSONParseException Returns array — PHP array representation of JSON string
stringify() stringify( $args) : string Convert input to JSON string with standard options. Parameters $args Throws \Elastica\Exception\JSONParseException Returns string — Valid JSON representation of $input