src/main/java/org/a05annex/util/JsonSupport.java
@Nullable
    static public Point2D parsePoint(@NotNull JSONObject dict, @NotNull String key) {
        Object valueObj = dict.get(key);
        if ((null != valueObj) && (valueObj.getClass() == JSONArray.class)) {
            return parsePoint((JSONArray) valueObj);
        }
        return null;
    }
/**
     * Parse the point value for an optional key in a JSON dictionary. If the key does not exist,
     * {@code null} will be returned.
     *
     * @param dict The JSON representation of a dictionary.
     * @param key  The key for the value to be obtained.
     * @return The value of the parse point if the @code key} is specified in the JSON, {@code null} otherwise.
     * @throws ClassCastException The value of the key is not a {@code Point2d}.
     */
Parse the point value for an optional key in a JSON dictionary. If the key does not exist,
null will be returned.

@param dict The JSON representation of a dictionary.
@param key  The key for the value to be obtained.
@return The value of the parse point if the @code key} is specified in the JSON,  null otherwise.
@throws ClassCastException The value of the key is not a  Point2d.
Parse the point value for an optional key in a JSON dictionary . If the key does not exist null will be returned . @param dict The JSON representation of a dictionary . @param key The key for the value to be obtained . @return The value of the parse point if the @code key } is specified in the JSON null otherwise . @throws ClassCastException The value of the key is not a Point2d .
@Nullable
    static public Point2D parsePoint(@NotNull JSONObject dict, @NotNull String key) {
        Object valueObj = dict.get(key);
        if ((null != valueObj) && (valueObj.getClass() == JSONArray.class)) {
            return parsePoint((JSONArray) valueObj);
        }
        return null;
    }
@ Nullable static public Point2D parsePoint ( @ NotNull JSONObject dict , @ NotNull String key ) { Object valueObj = dict . get ( key ) ; if ( ( null != valueObj ) && ( valueObj . getClass ( ) == JSONArray . class ) ) { return parsePoint ( ( JSONArray ) valueObj ) ; } return null ; }
Parse the point value for an optional key in a JSON dictionary.
Parse the point value for an optional key in a JSON dictionary .