public static JSONObject parseObject(String in)
    {
        String[] members = splitCollection(in);
        for (String s : members)
        {
            s = s.trim();
        }
        JSONMember[] parsedMembers = new JSONMember[members.length];
        for (int i = 0; i < members.length; i++)
        {
            parsedMembers[i] = parseMember(members[i]);
        }
        return new JSONObject(parsedMembers);
    }