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

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

There is a newer version: 1.0-pre19
Show newest version
package com.ajjpj.afoundation.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