JMESPath::Nodes::Function
# File lib/jmespath/nodes/function.rb, line 330 def call(args) if args.count == 1 value = args.first String === value ? value : JSON.dump(value) else raise Errors::InvalidArityError, "function to_string() expects one argument" end end