19 Jan
2017
19 Jan
'17
6:26 p.m.
Except that "[ a, b, c ]" is not valid JSON.
Youre right, a JSON adapter would need to enquote strings, write bools as
alphas and have access to an ADL-aware function to turn objects into tuples
of NVP generators. That shouldn't be too much of an issue.
On 19 January 2017 at 18:07, Bjorn Reese
On 01/19/2017 02:53 PM, Richard Hodges wrote:
join(wrapped_sequence(range, "[", "]", ",", " ")) -- results in "[ a,
b, c ]" or "[ ]" if the sequence is empty.
The last one would allow automatic generation of JSON...
Except that "[ a, b, c ]" is not valid JSON.
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman /listinfo.cgi/boost