All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.ajjpj.abase.io.JsonSerState Maven / Gradle / Ivy

Go to download

a-base is a library of basic (hence the name) classes, most notably immutable collection classes with copy-on-write operations

There is a newer version: 1.0-pre11
Show newest version
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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy