Tabnine Logo
JsonArtemisSerializer.partialLoad
Code IndexAdd Tabnine to your IDE (free)

How to use
partialLoad
method
in
com.artemis.io.JsonArtemisSerializer

Best Java code snippets using com.artemis.io.JsonArtemisSerializer.partialLoad (Showing top 3 results out of 315)

origin: junkdog/artemis-odb

public <T extends SaveFileFormat> T load(JsonValue jsonData, Class<T> format) {
  entitySerializer.preLoad();
  SaveFileFormat partial = partialLoad(jsonData);
  referenceTracker.inspectTypes(partial.componentIdentifiers.getTypes());
  entitySerializer.factory.configureWith(countChildren(jsonData.get("entities")));
  T t = newInstance(format);
  json.readFields(t, jsonData);
  t.tracker = entitySerializer.keyTracker;
  referenceTracker.translate(intBagEntitySerializer.getTranslatedIds());
  return t;
}
origin: junkdog/artemis-odb

public <T extends SaveFileFormat> T load(JsonValue jsonData, Class<T> format) {
  entitySerializer.preLoad();
  SaveFileFormat partial = partialLoad(jsonData);
  referenceTracker.inspectTypes(partial.componentIdentifiers.getTypes());
  entitySerializer.factory.configureWith(countChildren(jsonData.get("entities")));
  T t = newInstance(format);
  json.readFields(t, jsonData);
  t.tracker = entitySerializer.keyTracker;
  referenceTracker.translate(intBagEntitySerializer.getTranslatedIds());
  return t;
}
origin: net.onedaybeard.artemis/artemis-odb-serializer-json

public <T extends SaveFileFormat> T load(JsonValue jsonData, Class<T> format) {
  entitySerializer.preLoad();
  SaveFileFormat partial = partialLoad(jsonData);
  referenceTracker.inspectTypes(partial.componentIdentifiers.getTypes());
  entitySerializer.factory.configureWith(countChildren(jsonData.get("entities")));
  T t = newInstance(format);
  json.readFields(t, jsonData);
  t.tracker = entitySerializer.keyTracker;
  referenceTracker.translate(intBagEntitySerializer.getTranslatedIds());
  return t;
}
com.artemis.ioJsonArtemisSerializerpartialLoad

Popular methods of JsonArtemisSerializer

  • countChildren
  • load
  • newInstance
  • save

Popular in Java

  • Making http requests using okhttp
  • runOnUiThread (Activity)
  • setScale (BigDecimal)
  • getSharedPreferences (Context)
  • BufferedInputStream (java.io)
    A BufferedInputStream adds functionality to another input stream-namely, the ability to buffer the i
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • ConcurrentHashMap (java.util.concurrent)
    A plug-in replacement for JDK1.5 java.util.concurrent.ConcurrentHashMap. This version is based on or
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • Top Sublime Text plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now