From: Abhishek N. <ab...@ym...> - 2015-12-10 19:25:51
|
Hi all, I am trying to parse a json string which contains some binary data encoded as '\U0xx' format. JsonCpp is stripping out the whole content and just returns "null". Is there any way to get it as a array of bytes instead? Sample json text: {"bytes":"\U0008\U00bd\U00e4\U00f6\U00af\U0005\U0010\U00fa\U00c2\U0097\U00b3\U0005\U001a\U0015\U0008\U00ff\U00ff\U00ff\U00ff\U00ff\U00ff\U00ff\U00ff\U00ff\U0001\U0010\U0000\U0018\U0001\U0020\U0001\U0028\U0000\U0030\U0000\U0032\U0007\U0008\U00f9\U00c4\U00e8\U0009\U0018\U0001\U0032\U0007\U0008\U00b4\U00f0\U00e5\U0009\U0018\U0001"} When I parse it and print it back, I get this: {"bytes":null} Regards,Abhi. |