Converts this object to a string (calling to_s), converts it to a PSON string, and returns the result. This is a fallback, if no special method to_pson was defined for some object.
PSON
to_pson
# File lib/puppet/external/pson/pure/generator.rb 199 def to_pson(*) to_s.to_pson end