Skip to content

EntityJsonSerializer

jmpala edited this page Aug 14, 2020 · 1 revision

PassiveSystem that implementing the JsonSerializer interface reads and writes components in Json (through jsonbeans library).

On its constructor, the member variable Map<String, Class<? extends Component>> componentClasses is loaded with all the component classes, calling the system as follow componentSystem.getBy(ComponentSystem.Visibility.SERVER).

The read() and write() method are implemented, as to read and write components with Json.

<< Back to Server Systems

Get Starting

Requirements

Source Code

Reference

run

Graphics

balance

external documentation

Clone this wiki locally