Do not modify standard symbol in JSON behaviour. It seems to be good now

This commit is contained in:
2025-09-23 12:56:42 -05:00
parent 6a100555bc
commit 6596693238
2 changed files with 16 additions and 10 deletions
+10 -9
View File
@@ -1,9 +1,10 @@
class Symbol
def to_json(*)
to_s
end
def as_json(*)
to_s
end
end
# #TODO: please investigate if this can be removed
# class Symbol
# def to_json(*)
# to_s
# end
#
# def as_json(*)
# to_s
# end
# end