org.minijson.tool.profiler.SampleJsonCompatibleArray Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of minijson-tool Show documentation
Show all versions of minijson-tool Show documentation
A simple JSON parser/generator in Java. Tool module.
The newest version!
package org.minijson.tool.profiler;
import java.util.ArrayList;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;
import org.minijson.JsonCompatible;
import org.minijson.builder.JsonBuilderException;
public class SampleJsonCompatibleArray implements JsonCompatible
{
public SampleJsonCompatibleArray()
{
}
// @Override
// public boolean isJsonStructureArray()
// {
// return true;
// }
@Override
public Object toJsonStructure() throws JsonBuilderException
{
return toJsonStructure(1);
}
@Override
public Object toJsonStructure(int depth) throws JsonBuilderException
{
List
© 2015 - 2025 Weber Informatics LLC | Privacy Policy