Package org.kie.efesto.common.core.utils
Class JSONUtils
java.lang.Object
org.kie.efesto.common.core.utils.JSONUtils
-
Method Summary
Modifier and TypeMethodDescriptionstatic GeneratedResourcegetGeneratedResourceObject(String generatedResourceString) static GeneratedResourcesgetGeneratedResourcesObject(String generatedResourcesString) static GeneratedResourcesgetGeneratedResourcesObject(IndexFile indexFile) static StringgetGeneratedResourcesString(GeneratedResources generatedResources) static StringgetGeneratedResourceString(GeneratedResource generatedResource) static ModelLocalUriIdgetModelLocalUriIdObject(String localUriString) static StringgetModelLocalUriIdString(ModelLocalUriId localUriId) static voidwriteGeneratedResourcesObject(GeneratedResources toWrite, IndexFile indexFile)
-
Method Details
-
getGeneratedResourceString
public static String getGeneratedResourceString(GeneratedResource generatedResource) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getGeneratedResourceObject
public static GeneratedResource getGeneratedResourceObject(String generatedResourceString) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getGeneratedResourcesString
public static String getGeneratedResourcesString(GeneratedResources generatedResources) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getGeneratedResourcesObject
public static GeneratedResources getGeneratedResourcesObject(String generatedResourcesString) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getGeneratedResourcesObject
public static GeneratedResources getGeneratedResourcesObject(IndexFile indexFile) throws IOException - Throws:
IOException
-
writeGeneratedResourcesObject
public static void writeGeneratedResourcesObject(GeneratedResources toWrite, IndexFile indexFile) throws IOException - Throws:
IOException
-
getModelLocalUriIdString
public static String getModelLocalUriIdString(ModelLocalUriId localUriId) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
getModelLocalUriIdObject
public static ModelLocalUriId getModelLocalUriIdObject(String localUriString) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-