• Home
  • Raw
  • Download

Lines Matching refs:Json

63 printValueTree(FILE* fout, Json::Value& value, const std::string& path = ".") {  in printValueTree()
64 if (value.hasComment(Json::commentBefore)) { in printValueTree()
65 fprintf(fout, "%s\n", value.getComment(Json::commentBefore).c_str()); in printValueTree()
68 case Json::nullValue: in printValueTree()
71 case Json::intValue: in printValueTree()
75 Json::valueToString(value.asLargestInt()).c_str()); in printValueTree()
77 case Json::uintValue: in printValueTree()
81 Json::valueToString(value.asLargestUInt()).c_str()); in printValueTree()
83 case Json::realValue: in printValueTree()
89 case Json::stringValue: in printValueTree()
92 case Json::booleanValue: in printValueTree()
95 case Json::arrayValue: { in printValueTree()
108 case Json::objectValue: { in printValueTree()
110 Json::Value::Members members(value.getMemberNames()); in printValueTree()
113 for (Json::Value::Members::iterator it = members.begin(); in printValueTree()
124 if (value.hasComment(Json::commentAfter)) { in printValueTree()
125 fprintf(fout, "%s\n", value.getComment(Json::commentAfter).c_str()); in printValueTree()
132 Json::Value& root, in parseAndSaveValueTree()
133 const Json::Features& features, in parseAndSaveValueTree()
135 Json::Reader reader(features); in parseAndSaveValueTree()
157 const Json::Value& root, in rewriteValueTree()
161 Json::StyledWriter writer; in rewriteValueTree()
199 Json::Features& features, in parseCommandLine()
209 features = Json::Features::strictMode(); in parseCommandLine()
229 Json::Features features; in main()
254 Json::Value root; in main()
261 Json::Value rewriteRoot; in main()