Currently it is not possible to use the advanced_view option for displaying JSON arrays as the code is defined as follows:
def advanced_view?
advanced_view.present? && advanced_view.is_a?(Hash)
end
E.g if the JSON value is ["one", "two", "three"], it would be nice to be able to just display one, two, three instead of the heavy-looking jsoneditor, and also this advanced_view is necessary to enforce the structure of the data (e.g ensuring the editor won't enter a hash when an array should be provided).
Currently it is not possible to use the
advanced_viewoption for displaying JSON arrays as the code is defined as follows:E.g if the JSON value is
["one", "two", "three"], it would be nice to be able to just displayone, two, threeinstead of the heavy-looking jsoneditor, and also thisadvanced_viewis necessary to enforce the structure of the data (e.g ensuring the editor won't enter a hash when an array should be provided).