Solar_Json::_stripvalueslashes()

protected string Solar_Json::_stripvalueslashes ( array $matches )

Method for use with preg_replace_callback in the _deQuote() method.

Parameters

  • (array) $matches: Regexp matches

Returns

  • (string) replacement string

Description

Method for use with preg_replace_callback in the _deQuote() method.

Returns ["keymatch":][value] where value has had its leading and trailing double-quotes removed, and stripslashes() run on the rest of the value.



Local