Search in sources :

Example 1 with JsonIterator

use of com.badlogic.gdx.utils.JsonValue.JsonIterator in project gdx-gltf by mgsx-dev.

the class GLTFMorphTarget method read.

@Override
public void read(Json json, JsonValue jsonData) {
    for (JsonIterator i = jsonData.iterator(); i.hasNext(); ) {
        JsonValue e = i.next();
        put(e.name, e.asInt());
    }
}
Also used : JsonValue(com.badlogic.gdx.utils.JsonValue) JsonIterator(com.badlogic.gdx.utils.JsonValue.JsonIterator)

Aggregations

JsonValue (com.badlogic.gdx.utils.JsonValue)1 JsonIterator (com.badlogic.gdx.utils.JsonValue.JsonIterator)1