internal static ParseResult ParseNotEmpty <valueType>(string json, ref valueType value, ParseConfig config = null) { Parser parser = YieldPool.Default.Pop() ?? new Parser(); try { return(parser.parse <valueType>(json, ref value, config)); } finally { parser.Free(); } }
internal bool ParseWebViewNotEmpty <valueType>(ref valueType value, string json, ParseConfig config) { this.Config = config ?? DefaultConfig; fixed(char *jsonFixed = (this.json = json)) { Current = this.jsonFixed = jsonFixed; end = jsonFixed + json.Length; return(parseTcpServer(ref value)); } }