- Using JSON in php, when you decode what you encoded you don't always
get the same thing back (serialize you of course do)
How is PHP's YAML support? I prefer YAML to JSON, as it's even easier to read and parse. May not be best here, but could be an option if the interface is less broken than the JSON one. :)
On 10 September 2011 18:00, Greg Sabino Mullane greg@endpoint.com wrote:
- Using JSON in php, when you decode what you encoded you don't always
get the same thing back (serialize you of course do)
How is PHP's YAML support? I prefer YAML to JSON, as it's even easier to read and parse. May not be best here, but could be an option if the interface is less broken than the JSON one. :)
It's awful. Needs external libraries/code which all are broken in way or another. Besides, JSON is a subset of YAML. Also, by this definition YAML cannot be easier to parse than JSON.
-Niklas
wikitech-l@lists.wikimedia.org