Class JsonParser
java.lang.Object
com.cloudbees.jenkins.plugins.bitbucket.impl.util.JsonParser
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public final class JsonParser
extends Object
Jackson based JSON parser
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionstatic <T> TtoJava(InputStream data, Class<T> type) static <T> Tstatic <T> Tstatic <T> Tstatic com.fasterxml.jackson.databind.JsonNodestatic String
- 
Constructor Details- 
JsonParserpublic JsonParser()
 
- 
- 
Method Details- 
toJava- Throws:
- IOException
 
- 
toJava- Throws:
- IOException
 
- 
toJava- Throws:
- IOException
 
- 
toJavapublic static <T> T toJava(String data, com.fasterxml.jackson.core.type.TypeReference<T> type) throws IOException - Throws:
- IOException
 
- 
toString- Throws:
- IOException
 
- 
toJson- Throws:
- IOException
 
 
-