comparison Implab/JSON/JSONParser.cs @ 62:62b440d46313

Added Skip method to JSON parser to skip contents of the current node
author cin
date Sun, 22 Jun 2014 04:14:02 +0400
parents 21611344d366
children 0349189d2564
comparison
equal deleted inserted replaced
61:90069a2ec20a 62:62b440d46313
248 } 248 }
249 249
250 ~JSONParser() { 250 ~JSONParser() {
251 Dispose(false); 251 Dispose(false);
252 } 252 }
253
254 public void Skip() {
255 var level = Level-1;
256
257 Debug.Assert(level >= 0);
258
259 while (Level != level)
260 Read();
261 }
253 } 262 }
254 263
255 } 264 }