json-bigint icon indicating copy to clipboard operation
json-bigint copied to clipboard

add 'objectProto' option to create parsed objects as {}

Open egargan opened this issue 3 years ago • 4 comments

Fixes #39.

This gives us the option of going back to the old object parsing behaviour, before c85a430, where any parsed object was created as {}.

egargan avatar Oct 27 '21 15:10 egargan

This PR seems really useful, is there any plan to merge it?

guilleasz-glovo avatar Dec 01 '21 17:12 guilleasz-glovo

I really need this functionality, else we need to wrap function with Object.assign({}, parsedObject). Performance is important in project and with this we would avoid another copy.

Targma avatar Feb 21 '22 16:02 Targma

I've emailed the owner but haven't heard anything back, we might be waiting a while!

egargan avatar Feb 21 '22 16:02 egargan

still hope merge it

btnkr avatar Oct 19 '23 08:10 btnkr