Home | History | Annotate | Download | only in tutorial

Lines Matching defs:hello

0 // Hello World example

15 const char json[] = " { \"hello\" : \"world\", \"t\" : true , \"f\" : false, \"n\": null, \"i\":123, \"pi\": 3.1416, \"a\":[1, 2, 3, 4] } ";
40 assert(document.HasMember("hello"));
41 assert(document["hello"].IsString());
42 printf("hello = %s\n", document["hello"].GetString());
45 Value::MemberIterator hello = document.FindMember("hello");
46 assert(hello != document.MemberEnd());
47 assert(hello->value.IsString());
48 assert(strcmp("world", hello->value.GetString()) == 0);
49 (void)hello;
116 document["hello"] = "rapidjson"; // This will invoke strlen()
118 // document["hello"].SetString("rapidjson", 9);
129 // document["hello"].SetString(buffer, document.GetAllocator());