77
88namespace sjv
99{
10- bool sjv ::verify_json (const json &input, const json &rules)
10+ bool SJV ::verify_json (const json &input, const json &rules)
1111 {
1212 log.clear ();
1313 return verify_json (" /" , input, rules);
1414 }
1515
16- bool sjv ::verify_json (const string &pointer, const json &input, const json &rules)
16+ bool SJV ::verify_json (const string &pointer, const json &input, const json &rules)
1717 {
1818 // Polymorphism on list, a single item or a list are indistinguishable
1919 // All the elements in the list must pass the test
@@ -79,7 +79,7 @@ namespace sjv
7979 // If they all pass, return true
8080 return true ;
8181 };
82- bool sjv ::verify_rule (const json &input, const json &rule)
82+ bool SJV ::verify_rule (const json &input, const json &rule)
8383 {
8484 string type = rule.at (" type" );
8585 if (type == " skip_check" )
@@ -104,7 +104,7 @@ namespace sjv
104104 return false ;
105105 }
106106 };
107- bool sjv ::verify_rule_file (const json &input, const json &rule)
107+ bool SJV ::verify_rule_file (const json &input, const json &rule)
108108 {
109109 assert (rule.at (" type" ) == " file" );
110110
@@ -134,7 +134,7 @@ namespace sjv
134134
135135 return true ;
136136 };
137- bool sjv ::verify_rule_folder (const json &input, const json &rule)
137+ bool SJV ::verify_rule_folder (const json &input, const json &rule)
138138 {
139139 assert (rule.at (" type" ) == " folder" );
140140
@@ -150,7 +150,7 @@ namespace sjv
150150
151151 return true ;
152152 };
153- bool sjv ::verify_rule_float (const json &input, const json &rule)
153+ bool SJV ::verify_rule_float (const json &input, const json &rule)
154154 {
155155 assert (rule.at (" type" ) == " float" );
156156
@@ -165,7 +165,7 @@ namespace sjv
165165
166166 return true ;
167167 };
168- bool sjv ::verify_rule_int (const json &input, const json &rule)
168+ bool SJV ::verify_rule_int (const json &input, const json &rule)
169169 {
170170 assert (rule.at (" type" ) == " int" );
171171
@@ -180,7 +180,7 @@ namespace sjv
180180
181181 return true ;
182182 };
183- bool sjv ::verify_rule_string (const json &input, const json &rule)
183+ bool SJV ::verify_rule_string (const json &input, const json &rule)
184184 {
185185 assert (rule.at (" type" ) == " string" );
186186
@@ -199,7 +199,7 @@ namespace sjv
199199
200200 return true ;
201201 };
202- bool sjv ::verify_rule_object (const json &input, const json &rule)
202+ bool SJV ::verify_rule_object (const json &input, const json &rule)
203203 {
204204 assert (rule.at (" type" ) == " object" );
205205
@@ -213,7 +213,7 @@ namespace sjv
213213
214214 return true ;
215215 };
216- bool sjv ::verify_rule_bool (const json &input, const json &rule)
216+ bool SJV ::verify_rule_bool (const json &input, const json &rule)
217217 {
218218 assert (rule.at (" type" ) == " bool" );
219219
@@ -223,7 +223,7 @@ namespace sjv
223223 return true ;
224224 };
225225
226- std::string sjv ::log2str ()
226+ std::string SJV ::log2str ()
227227 {
228228 std::stringstream s;
229229
0 commit comments