Hi Yasuo, On Wed, Apr 1, 2015 at 3:30 AM, Yasuo Ohgaki <yohg...@ohgaki.net> wrote: > > There are too many options (4 options to be exact) for JSON to work safely > under HTML context currently. If user would not like to loose int/float > information, 6 options are needed. Number of options are better to be > reduced, so big +1 for string raw data by default. It may be better to have > > JSON_HEX_HTML_CHARS = JSON_HEX_TAG | JSON_HEX_AMP | JSON_HEX_APOS | > JSON_HEX_QUOT > > It might make sense to introduce something like that. I'm not sure about the name but definitely will think about that and possibly open a new email thread as it's again a bit off topic :)
Cheers Jakub