eclipse-cdt-cloud / tsp-typescript-client

Client-side implementation, in typescript, of the Trace Server Protocol (TSP)
MIT License
9 stars 19 forks source link

Add utility to support json serialization/deserialization with JSONBigInt #57

Open bhufmann opened 2 years ago

bhufmann commented 2 years ago

The deserialization of TSP JSON strings to class objects that contains bigint fields are done using searialization and a so called Normalizer. This make sure that for example, timestamps are deserialized as bitint and not Number if they are small values.

It would be good to provide a utility that supports this for non-TSP classes.

marco-miller commented 2 years ago

@bhufmann, may we close this issue, told as having been fixed by this commit?

bhufmann commented 2 years ago

@bhufmann, may we close this issue, told as having been fixed by this commit?

That commit is still in my fork of the repository and hasn't been mainlined. Re-opening this Issue.

marco-miller commented 2 years ago

@bhufmann, may we close this issue, told as having been fixed by this commit?

That commit is still in my fork of the repository and hasn't been mainlined. Re-opening this Issue.

Thanks, didn't notice the fork branch; sorry for the hassle. Noted.