public static void dumpArray(Object[] array) {
        if (array == null) {
            System.err.println("null");
            return;
        }
        for (int i = 0; i < array.length; i++) {
            Object o = array[i];
            System.err.print(i + ": ");
            if (o instanceof Quaternion) {
                Quaternion q = (Quaternion) o;
                System.err.print("(");
                if (q.getX() > 0.00001) System.err.print(q.getX() + ", ");
                else System.err.print("0.0, ");
                if (q.getY() > 0.00001) System.err.print(q.getY() + ", ");
                else System.err.print("0.0, ");
                if (q.getZ() > 0.00001) System.err.print(q.getZ() + ", ");
                else System.err.print("0.0, ");
                if (q.getW() > 0.00001) System.err.print(q.getW() + ", ");
                else System.err.print("0.0, ");
                System.err.println(")");
            } else {
                System.err.println(o.toString() + ", ");
            }
        }
        System.err.println("");
    }
Parse a json input stream and returns a {@link JsonObject}
@param stream the stream to parse
@return the JsonObject
jme3-plugins/src/gltf/java/com/jme3/scene/plugins/gltf/GltfUtils.java