private void handleNonArrayToken()

in schema-induction/src/main/java/aws/json/schema/induction/JsonPathsReader.java [102:132]


    private void handleNonArrayToken(JsonReader reader, JsonToken token) throws IOException
    {
        if (token.equals(JsonToken.NAME)) {
            String name = reader.nextName();
            String path = reader.getPath();
            int j = 0;
        }
        else if (token.equals(JsonToken.STRING)) {
            String path = reader.getPath();
            String x = reader.nextString();
            int len = x.length();
            notifyPath(path,JsonToken.STRING,len);
        }
        else if (token.equals(JsonToken.NUMBER)) {
            String path = reader.getPath();
            notifyPath(path, JsonToken.NUMBER);
            double x = reader.nextDouble();
        }
        else if (token.equals(JsonToken.BOOLEAN)) {
            String path = reader.getPath();
            notifyPath(path, JsonToken.BOOLEAN);
            boolean x = reader.nextBoolean();
        } else if (token.equals(JsonToken.NULL)) {
            String path = reader.getPath();
            notifyPath(path, JsonToken.NULL);
            reader.skipValue();
        }
        else {
            reader.skipValue();
        }
    }