As we know the BigInt type is availble in JavaScript as a data type able to represent any arbitrary large integer number, which is a good supplement when a value exceeds what number
could represent. However, when working with applications where you need exchange data with JSON
format, the BigInt
values become a problem because JSON
does not know how to serialize BigInt
values by default, in such cases, one solution is to convert the BigInt
into string
as this post shows.
How to pretty print JSON usually for better visibility.
Java parse common data files such as csv, json, yaml, xml, ini, properties and etc.