Page MenuHomePhabricator

Make json_decode type save
Open, LowPublic

Description

In the Math and MathSearch extension we currently use json_decode to decode json to std_class
However it would be nicer if we could decode to a fixed set of phpclasses that support autocompletion for the IDE etc.
I found two approaches
http://jmsyst.com/libs/serializer
https://github.com/netresearch/jsonmapper