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

com.avaje.ebean.text.json.JsonElement Maven / Gradle / Ivy

The newest version!
package com.avaje.ebean.text.json;

/**
 * Marker interface for all the Raw JSON types.
 * 

* You will only use the JsonElements when you register a JsonReadBeanVisitor. * The JSON elements that are not mapped to a bean property are made available * to the JsonReadBeanVisitor. *

* * @see JsonReadBeanVisitor * * @author rbygrave */ public interface JsonElement { /** * Return true if this is a JSON primitive type (null, boolean, number or * string). */ public boolean isPrimitive(); /** * Return the string value of this primitive JSON element. *

* This can not be used for JsonElementObject or JsonElementArray. *

*/ public String toPrimitiveString(); public Object eval(String exp); public int evalInt(String exp); public String evalString(String exp); public boolean evalBoolean(String exp); }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy