Advertisement
Guest User

Untitled

a guest
Jul 25th, 2014
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. #include "rapidjson/document.h"
  2. #include <cstdio>
  3.  
  4. int main() {
  5. const char json[] = "{ "hello" : "world" }";
  6.  
  7. rapidjson::Document d;
  8. d.Parse<0>(json);
  9.  
  10. printf("%sn", d["hello"].GetString());
  11.  
  12. return 0;
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement