can parse map with primitive value, struct value and struct pointer value and array with primitive value