org.codehaus.jackson.JsonToken



API Populatity

27 Client projects

Project: org.codehaus

Project FasterXML/jackson in file ....java.org.codehaus.jackson.node.ContainerNode.java (2009-09-27)
@@ -6,6 +6,7 @@ import java.util.NoSuchElementException;
 
 import org.codehaus.jackson.JsonGenerator;
 import org.codehaus.jackson.JsonNode;
+import org.codehaus.jackson.JsonToken;
 
 /**
  * This intermediate base class is used for all container nodes,
@@ -30,6 +31,9 @@ public abstract class ContainerNode
     public boolean isContainerNode() { return true; }
 
     @Override
+    public abstract JsonToken asToken();
+
+    @Override
     public String getValueAsText() { return null; }
 
     /*
Project FasterXML/jackson in file ...pper.java.org.codehaus.jackson.node.ValueNode.java (2009-09-27)
@@ -1,6 +1,7 @@
 package org.codehaus.jackson.node;
 
 import org.codehaus.jackson.JsonNode;
+import org.codehaus.jackson.JsonToken;
 
 /**
  * This intermediate base class is used for all leaf nodes, that is,
@@ -15,6 +16,9 @@ public abstract class ValueNode
     @Override
     public boolean isValueNode() { return true; }
 
+    @Override
+    public abstract JsonToken asToken();
+
     /*
     ////////////////////////////////////////////////////
     // Public API, path handling
Project FasterXML/jackson-databind in file ...ackson.databind.deser.std.EnumSetDeserializer.java (2011-12-23)
@@ -3,9 +3,7 @@ package com.fasterxml.jackson.databind.deser.std;
 import java.io.IOException;
 import java.util.*;
 
-import org.codehaus.jackson.JsonProcessingException;
-import org.codehaus.jackson.JsonParser;
-import org.codehaus.jackson.JsonToken;
+import com.fasterxml.jackson.core.*;
 
 import com.fasterxml.jackson.databind.DeserializationContext;
 import com.fasterxml.jackson.databind.TypeDeserializer;