Re: [Boost-users] How strong is PropertyTree JSON support
On 1/8/19 6:50 PM, Michael Powell via Boost-users wrote:
Thoughts? Suggestions?
https://github.com/breese/trial.protocol http://breese.github.io/trial/protocol/trial_protocol/json.html
On Tue, Jan 8, 2019 at 1:33 PM Bjorn Reese via Boost-users
On 1/8/19 6:50 PM, Michael Powell via Boost-users wrote:
Thoughts? Suggestions?
https://github.com/breese/trial.protocol http://breese.github.io/trial/protocol/trial_protocol/json.html
I'm not sure, what am I supposed to be keying in on here? Looks like straight usage of the PropertyTree Json support? Thanks, but I gathered that already, and then some.
_______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users
On 1/8/19 8:31 PM, Michael Powell via Boost-users wrote:
I'm not sure, what am I supposed to be keying in on here? Looks like straight usage of the PropertyTree Json support? Thanks, but I gathered that already, and then some.
You concluded yourself that PropertyTree is probably not what your are looking for. You received two responses about other JSON libraries that you can use instead. You could try to roll your own, but the simplicity of the JSON syntax is deceiving. See for instance: http://seriot.ch/parsing_json.php So you would be better of using a standards-compliant library. The one I suggested has the advantage that you could use its low-level API as a JSON lexer to build your own AST, or you could use the higher- level tree structure that comes with the library.
On Tue, Jan 8, 2019 at 2:55 PM Bjorn Reese via Boost-users
On 1/8/19 8:31 PM, Michael Powell via Boost-users wrote:
I'm not sure, what am I supposed to be keying in on here? Looks like straight usage of the PropertyTree Json support? Thanks, but I gathered that already, and then some.
You concluded yourself that PropertyTree is probably not what your are looking for. You received two responses about other JSON libraries that you can use instead.
You could try to roll your own, but the simplicity of the JSON syntax is deceiving. See for instance:
Thank you for that bit of clarification.
So you would be better of using a standards-compliant library.
The one I suggested has the advantage that you could use its low-level API as a JSON lexer to build your own AST, or you could use the higher- level tree structure that comes with the library. _______________________________________________ Boost-users mailing list Boost-users@lists.boost.org https://lists.boost.org/mailman/listinfo.cgi/boost-users
participants (2)
-
Bjorn Reese
-
Michael Powell