class Grape::Validations::Types::JsonArray
in an Array.
objects and arrays of objects, but wraps single objects
to return an array of objects. Accepts both JSON-encoded
Specialization of the {Json} attribute that is guaranteed
def parse(input)
-
(Array-)
Parameters:
-
input(String) -- JSON-encoded parameter value
def parse(input) json = super Array.wrap(json) unless json.nil? end
def parsed?(value)
def parsed?(value) coerced_collection? value end