All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.starksign.utils.GsonEvent Maven / Gradle / Ivy

Go to download

Welcome to the Stark Sign Java SDK! This tool is made for Java developers who want to easily integrate with our API. This SDK version is compatible with the Stark Sign API v2.

The newest version!
package com.starksign.utils;

import com.google.gson.Gson;
import com.google.gson.GsonBuilder;


class GsonEvent {
     private static Gson instance;

     private GsonEvent() {}

     public static synchronized Gson getInstance()
     {
         if(instance == null)
             instance = new GsonBuilder()
                     .setDateFormat("yyyy-MM-dd'T'HH:mm:ss.SSSSSSZ")
                     .create();
         return instance;
     }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy