-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Treating floating point as string #1627
Copy link
Copy link
Closed
Labels
kind: questionsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
Description
Activity
Metadata
Metadata
Assignees
Labels
kind: questionsolution: proposed fixa fix for the issue has been proposed and waits for confirmationa fix for the issue has been proposed and waits for confirmation
Hey everyone I have been trying to figure out if there was a way for me to access the underlying "raw text" of a numeric value.
Let's say I have the following json:
{ "some_number": 123443567.8982593898749283794837298749832798798 }Here I want to treat
some_numberas a "bunch of digits", meaning the node is still of numeric type but I don't want to rely on any parsing capabilities from this library. Would it be possible for me to get the underlying array of characters that is contained in the json file for a given numeric node?In other words, I would like to do something like this
Which would print:
{123443567.8982593898749283794837298749832798798}Is this doable?
Thanks a lot!