com.taobao.api.internal.util.json.JSONWriter Maven / Gradle / Ivy
package com.taobao.api.internal.util.json;
import java.beans.BeanInfo;
import java.beans.IntrospectionException;
import java.beans.Introspector;
import java.beans.PropertyDescriptor;
import java.lang.reflect.Array;
import java.lang.reflect.Field;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method;
import java.text.CharacterIterator;
import java.text.StringCharacterIterator;
import java.util.Collection;
import java.util.Date;
import java.util.Iterator;
import java.util.Map;
import java.util.Stack;
import com.taobao.api.internal.util.StringUtils;
public class JSONWriter {
private StringBuffer buf = new StringBuffer();
private Stack