issues Search Results · repo:tc39/proposal-json-parse-with-source language:HTML
Filter by
29 results
(86 ms)29 results
intc39/proposal-json-parse-with-source (press backspace or delete to remove)While I believe Float64 are still typeof number, BigInts are accepted and valid in rawJSON and work just fine ... heck,
these are the main reason this whole proposal exists so ... can anyone update
https://tc39.es/proposal-json-parse-with-source/#sec-json.rawjson ...
WebReflection
- 3
- Opened on Oct 9, 2024
- #47
Forgive me if this is the wrong spot to put this.
I think JSON.rawJSON is a really powerful API for performance-optimizing JSON serialization. But, because it is limited
to only producing valid primitive ...
airhorns
- 4
- Opened on Jun 15, 2024
- #46
In JSON, -1 is parsed as a single number token. But in ECMAScript, it is parsed as a UnaryExpression consisting of - and
a NumericLiteral. ShallowestContainedJSONValue should therefore characterize numbers ...
gibson042
- Opened on Sep 26, 2023
- #44
Hello!
Thank you for this proposal and your hard work!
While waiting for the proposal to be generally available, I ve implemented a custom JSON parser that is
future-compatible with the proposal. It ...
slavafomin
- 12
- Opened on Jan 12, 2023
- #40
Let s have this example,
print(JSON.stringify(JSON.parse( [1, 2] , function (name, value, context) {
if (name === 0 )
this[1] = [ Hello ];
return this[name];
})));
JSON.stringify s ...
Constellation
- 6
- Opened on Dec 1, 2022
- #39
const intToBigInt = (key, val, {source}) = typeof val === number val % 1 === 0 ? BigInt(source) : val;
AFAICT, this code is going to fail for (e.g.) source === 123e2 :
BigInt( 123e2 )
SyntaxError: ...
rauschma
- 2
- Opened on Nov 17, 2022
- #37
Has this proposal been implemented anywhere yet (e.g. via a polyfill)? Thanks!
rauschma
- 2
- Opened on Nov 17, 2022
- #36
Consider the example below:
reviver = function(p, v) {
if (p == a ) {
this.b = { get x() {return null}, set x(_){throw 666} }
}
return v;
}
JSON.parse( { a :0, b :1} , reviver);
According ...
jameslahm
- Opened on Sep 29, 2022
- #35
In many cases, JSON parsing happens indirectly when an application calls Response.json() function after fetching JSON
payload from a service using the Fetch API.
Would it be within the scope of this proposal ...
pspraveenkr
- 5
- Opened on Jul 28, 2022
- #34
This is a placeholder task for the Stage 3 Specification Review feedback from @waldemarhorwat.
gibson042
- 2
- Opened on Jun 9, 2022
- #29

Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.
Learn how you can use GitHub Issues to plan and track your work.
Save views for sprints, backlogs, teams, or releases. Rank, sort, and filter issues to suit the occasion. The possibilities are endless.Learn more about GitHub IssuesProTip!
Restrict your search to the title by using the in:title qualifier.