Skip to content
This repository has been archived by the owner on Mar 21, 2023. It is now read-only.

Commit

Permalink
MultiJson was replaced with JSON in jmespath/jmespath.rb#7
Browse files Browse the repository at this point in the history
  • Loading branch information
David Dahl committed Sep 17, 2015
1 parent 336e91b commit 7110f16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/jmespath/nodes/function.rb
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ class ToStringFunction < Function
def call(args)
if args.count == 1
value = args.first
String === value ? value : MultiJson.dump(value)
String === value ? value : JSON.dump(value)
else
return maybe_raise Errors::InvalidArityError, "function to_string() expects one argument"
end
Expand Down

0 comments on commit 7110f16

Please sign in to comment.