com.ajjpj.abase.io.JsonSerState Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of a-base Show documentation
Show all versions of a-base Show documentation
a-base is a library of basic (hence the name) classes, most notably immutable collection classes with copy-on-write operations
package com.ajjpj.abase.io;
/**
* @author arno
*/
enum JsonSerState {
initial(false, true), startOfObject(true, false), inObject(true, false), afterKey(false, true), startOfArray(false, true), inArray(false, true), finished(false, false);
public final boolean acceptsKey;
public final boolean acceptsValue;
JsonSerState(boolean acceptsKey, boolean acceptsValue) {
this.acceptsKey = acceptsKey;
this.acceptsValue = acceptsValue;
}
}