Searched refs:json_types (Results 1 – 4 of 4) sorted by relevance
10 json json_types = in main() local25 bool v1 = json_types["boolean"]; in main()26 int v2 = json_types["number"]["integer"]; in main()27 short v3 = json_types["number"]["integer"]; in main()28 float v4 = json_types["number"]["floating-point"]; in main()29 int v5 = json_types["number"]["floating-point"]; in main()30 std::string v6 = json_types["string"]; in main()31 std::vector<short> v7 = json_types["array"]; in main()32 std::unordered_map<std::string, json> v8 = json_types; in main()54 bool v1 = json_types["string"]; in main()
10 json json_types = in main() local25 auto v1 = json_types["boolean"].get<bool>(); in main()26 auto v2 = json_types["number"]["integer"].get<int>(); in main()27 auto v3 = json_types["number"]["integer"].get<short>(); in main()28 auto v4 = json_types["number"]["floating-point"].get<float>(); in main()29 auto v5 = json_types["number"]["floating-point"].get<int>(); in main()30 auto v6 = json_types["string"].get<std::string>(); in main()31 auto v7 = json_types["array"].get<std::vector<short>>(); in main()32 auto v8 = json_types.get<std::unordered_map<std::string, json>>(); in main()
10 json json_types = in main() local35 json_types["boolean"].get_to(v1); in main()36 json_types["number"]["integer"].get_to(v2); in main()37 json_types["number"]["integer"].get_to(v3); in main()38 json_types["number"]["floating-point"].get_to(v4); in main()39 json_types["number"]["floating-point"].get_to(v5); in main()40 json_types["string"].get_to(v6); in main()41 json_types["array"].get_to(v7); in main()42 json_types.get_to(v8); in main()
17 json json_types = variable