public static JSONMember parseMember(String in)
    {
        int seperator = in.indexOf(":");
        if (in.length() > 3 && seperator > 0 && seperator < in.length() - 1)
        {
            String name = in.substring(0, seperator).trim();
            String value = in.substring(seperator + 1, in.length()).trim();
            int endNameChar = name.length() - 1;
            if ((name.charAt(0) == '\"') && (name.charAt(endNameChar) == '\"'))
            {   //ensure validity of name
                String parsedName = name.substring(1, name.length() - 1);
                JSONValue parsedValue = new JSONValue(value);
                return new JSONMember(parsedName, parsedValue);
            }
        }   //every member must contain one seperator, a name, and a value
        return null;
    }