com.phloc.json.IJSONReadable Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of phloc-json Show documentation
Show all versions of phloc-json Show documentation
Library for read and writing JSON objects in a typesafe manner
package com.phloc.json;
import javax.annotation.Nonnull;
/**
* Interface for objects that can read their state from a JSON object. Generally
* you will have a public Ctor not doing anything except calling this
*
* @author Boris Gregorcic
*/
public interface IJSONReadable
{
/**
* Reads all data from the passed JSON objects and restores the state of this
* object
*
* @param aJSON
* the JSON from which to restore the state
*/
void readFromJSON (@Nonnull IJSONObject aJSON);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy