private Map<String, Object> toMap(Object field) { if (field instanceof Value) { Value value = (Value) field; return (Map) value.toValue(); } else { return (Map) field; } }
private List<String> toList(Object include) { if (include instanceof Value) { Value value = (Value) include; return (List) value.toValue(); } else { return (List) include; } }
public Object parse(char[] chars) { lastIndex = chars.length - 1; __index = 0; charArray = chars; Value value = decodeValuePlist(); if (value.isContainer()) { return value.toValue(); } else { return value; } }