
com.github.jsonparser.model.JsonOrder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of json-parser Show documentation
Show all versions of json-parser Show documentation
The library performs an operation on JSON and returns CSV data in the following output formats: String, File, and Writer.
package com.github.jsonparser.model;
import com.google.gson.*;
import com.google.gson.reflect.TypeToken;
import java.lang.reflect.Type;
import java.util.LinkedHashMap;
import java.util.Map;
/**
* The utility class to handle json order. Keeping Order:
* 1. JSON primitive
* 2. JSON Object
* 3. JSON Array
*
* @author Ram Alapure
* @version 1.0
* @since 17/02/2020
*/
public class JsonOrder {
private static Type type = new TypeToken
© 2015 - 2025 Weber Informatics LLC | Privacy Policy