package org.svetovid.util;

public enum JsonType {
    NULL, BOOLEAN, NUMBER, STRING, ARRAY, OBJECT, UNKNOWN;
}

@@ -1,116 +1,1500 @@
-package org.svetovid.util;%0D%0A%0D%0Apublic enum JsonType %7B%0D%0A    NULL, BOOLEAN, NUMBER, STRING, ARRAY, OBJECT, UNKNOWN;
+/*%0D%0A * Copyright 2015 Ivan Pribela%0D%0A *%0D%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0D%0A * you may not use this file except in compliance with the License.%0D%0A * You may obtain a copy of the License at%0D%0A *%0D%0A *     http://www.apache.org/licenses/LICENSE-2.0%0D%0A *%0D%0A * Unless required by applicable law or agreed to in writing, software%0D%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0D%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0D%0A * See the License for the specific language governing permissions and%0D%0A * limitations under the License.%0D%0A */%0D%0A%0D%0Apackage org.svetovid.util;%0D%0A%0D%0A/**%0D%0A * Enumeration of all JSON (JavaScript Object Notation) types.%0D%0A *%0D%0A * @author Ivan Pribela%0D%0A */%0D%0Apublic enum JsonType %7B%0D%0A%0D%0A    /**%0D%0A     * Null literal (%7B@code null%7D).%0D%0A     */%0D%0A    NULL(%22Null%22),%0D%0A%0D%0A    /**%0D%0A     * Boolean literal (%7B@code true%7D or %7B@code false%7D).%0D%0A     */%0D%0A    BOOLEAN(%22Boolean%22),%0D%0A%0D%0A    /**%0D%0A     * Number literal.%0D%0A     */%0D%0A    NUMBER(%22Number%22),%0D%0A%0D%0A    /**%0D%0A     * String literal.%0D%0A     */%0D%0A    STRING(%22String%22),%0D%0A%0D%0A    /**%0D%0A     * JSON Array.%0D%0A     */%0D%0A    ARRAY(%22Array%22),%0D%0A%0D%0A    /**%0D%0A     * JSON object.%0D%0A     */%0D%0A    OBJECT(%22Object%22),%0D%0A%0D%0A    /**%0D%0A     * Unknown JSON type.%0D%0A     */%0D%0A    UNKNOWN(%22Unknown%22);%0D%0A%0D%0A    private String friendlyName;%0D%0A%0D%0A    private JsonType(String friendlyName) %7B%0D%0A        this.friendlyName = friendlyName;%0D%0A    %7D%0D%0A%0D%0A    @Override%0D%0A    public String toString() %7B%0D%0A        return friendlyName;%0D%0A    %7D
 %0D%0A%7D%0D

Refactor JsonType