Uses of Class
squidpony.store.json.JsonStorage
Package | Description |
---|---|
squidpony |
The default conversion, compression, and storage classes are here; they delegate to the classes in
squidpony.store.json . |
squidpony.store.json |
Conversion, compression,and storage (to libGDX Preferences) using JSON as the stored type.
|
-
Uses of JsonStorage in squidpony
Subclasses of JsonStorage in squidpony Modifier and Type Class Description class
SquidStorage
Helps games store information in libGDX's Preferences class as Strings, then get it back out. -
Uses of JsonStorage in squidpony.store.json
Methods in squidpony.store.json that return JsonStorage Modifier and Type Method Description JsonStorage
JsonStorage. clear()
Clears the current group of objects; recommended if you intend to store under multiple outerName keys.JsonStorage
JsonStorage. put(String innerName, Object o)
Prepares to store the Objecto
to be retrieved withinnerName
in the current group of objects.JsonStorage
JsonStorage. remove(String innerName)
Removes one object from the current group by theinnerName
it was prepared with usingput(String, Object)
.JsonStorage
JsonStorage. store(String outerName)
Actually stores all objects that had previously been prepared withput(String, Object)
, withouterName
used as a key to retrieve any object in the current group.