You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add an optional parameter to the parse function which makes the returned object contain only strings.
Use case - parsing an appmanifest.acf, some of the values lose precision if they're numbers. The file contains: "manifest" "5024399731943401779"
Parsing it will return: manifest: 5024399731943401000
A part of the value is lost. After removing the code which was responsible for converting the types, it's correctly parsed as: manifest: '5024399731943401779'
Add an optional parameter to the parse function which makes the returned object contain only strings.
Use case - parsing an appmanifest.acf, some of the values lose precision if they're numbers. The file contains:
"manifest" "5024399731943401779"
Parsing it will return:
manifest: 5024399731943401000
A part of the value is lost. After removing the code which was responsible for converting the types, it's correctly parsed as:
manifest: '5024399731943401779'
Responsible code:
The text was updated successfully, but these errors were encountered: