foodev.jsondiff.jsonwrap.jackson
Class JacksonWrapper

java.lang.Object
  extended by foodev.jsondiff.jsonwrap.jackson.JacksonWrapper
All Implemented Interfaces:
Wrapper

public class JacksonWrapper
extends Object
implements Wrapper


Constructor Summary
JacksonWrapper()
           
 
Method Summary
 boolean accepts(Object o)
           
 JzonArray createJsonArray()
           
 JzonObject createJsonObject()
           
 JzonElement parse(String json)
           
static JzonElement wrap(org.codehaus.jackson.JsonNode el)
           
 JzonElement wrap(Object o)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JacksonWrapper

public JacksonWrapper()
Method Detail

wrap

public static JzonElement wrap(org.codehaus.jackson.JsonNode el)

parse

public JzonElement parse(String json)
Specified by:
parse in interface Wrapper

accepts

public boolean accepts(Object o)
Specified by:
accepts in interface Wrapper

wrap

public JzonElement wrap(Object o)
Specified by:
wrap in interface Wrapper

createJsonObject

public JzonObject createJsonObject()
Specified by:
createJsonObject in interface Wrapper

createJsonArray

public JzonArray createJsonArray()
Specified by:
createJsonArray in interface Wrapper


Copyright © 2012. All Rights Reserved.