byzhang / rapidjson

Automatically exported from code.google.com/p/rapidjson
MIT License
0 stars 0 forks source link

Adaptating rapidjson to Universal Binary JSON #74

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm redeploying a real-time sound synthesis application and I plan to use JSON 
to encode samples control data (each of a few kilobytes of mainly numeric 
values). Till now, the encoding uses XML, but it takes a few hundred of 
milliseconds to load (parse) an encoded sample, which is too much for what I 
want now.
JSON looks a good candidate for a new encoding format of those sample controls, 
but even better would be Universal Binary JSON, which even more compact (30%) 
and should be faster to parse (writing is not time critical for me).
Do you think it could be possible to adapt rapidjson parser to accept Universal 
Binary JSON format?

Original issue reported on code.google.com by aptome...@gmail.com on 18 May 2013 at 4:18

GoogleCodeExporter commented 9 years ago
To make rapidjson simple, I think it would not be suitable to add this 
functionality.
You may spawn rapidjson as a new project, and change the parser/generator.

Original comment by milo...@gmail.com on 18 Jun 2013 at 1:48