public string TryParse(string source, ref int index, ref JsonPath path) { if (path == null) { return("Start token not found."); } var error = source.GetSlices(ref index, out var slices); if (error != null) { return(error); } path = path.Array(slices.ToArray()); return(null); }
public string TryParse(string source, ref int index, ref JsonPath path) { path = path.Array(); index += 3; return(null); }