private JSONBoolean ParseBoolean() { JSONBoolean ret = new JSONBoolean(); if (data.Substring(ptr, 4) == "true") { ret.val = true; ptr += 4; } else if (data.Substring(ptr, 5) == "false") { ret.val = false; ptr += 5; } return(ret); }
private JSONBoolean ParseBoolean() { JSONBoolean ret = new JSONBoolean(); if(data.Substring(ptr, 4) == "true") { ret.val = true; ptr += 4; } else if(data.Substring(ptr, 5) == "false") { ret.val = false; ptr += 5; } return ret; }