Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance. Project price only 1 $
You can buy this project and download/modify it how often you want.
/*
* Copyright (C) 2015 HaiYang Li
*
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
* in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License
* is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
* or implied. See the License for the specific language governing permissions and limitations under
* the License.
*/
package com.landawn.abacus.parser;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.io.Reader;
import java.util.Collection;
import java.util.Map;
import java.util.Set;
import com.landawn.abacus.type.Type;
import com.landawn.abacus.type.TypeFactory;
import com.landawn.abacus.util.ExceptionalStream;
import com.landawn.abacus.util.N;
import com.landawn.abacus.util.WD;
/**
* The Class AbstractJSONParser.
*
* @author Haiyang Li
* @since 0.8
*/
abstract class AbstractJSONParser extends AbstractParser implements JSONParser {
/** The Constant _BRACE_L. */
protected static final char _BRACE_L = WD._BRACE_L;
/** The Constant _BRACE_R. */
protected static final char _BRACE_R = WD._BRACE_R;
/** The Constant _BRACKET_L. */
protected static final char _BRACKET_L = WD._BRACKET_L;
/** The Constant _BRACKET_R. */
protected static final char _BRACKET_R = WD._BRACKET_R;
/** The Constant _D_QUOTATION. */
protected static final char _D_QUOTATION = WD._QUOTATION_D;
/** The Constant _S_QUOTATION. */
protected static final char _S_QUOTATION = WD._QUOTATION_S;
/** The Constant _COLON. */
protected static final char _COLON = WD._COLON;
/** The Constant _COMMA. */
protected static final char _COMMA = WD._COMMA;
/** The Constant objType. */
protected static final Type