Open Bug 1741651 Opened 3 years ago Updated 3 years ago

Add an API to parse JSON into dom::Record

Categories

(Core :: DOM: Core & HTML, enhancement)

enhancement

Tracking

()

People

(Reporter: zbraniecki, Unassigned)

Details

We are currently doing a quite hacky thing when parsing JSON into dom::Record in DOM L10n [0].

It would be great to have an API for this operation.

[0] https://searchfox.org/mozilla-central/rev/df18dd52da04ee2bad434b0ba2d9fcb196d4d15e/dom/l10n/DOMLocalization.cpp#616

As per #dom channel - this can be JSON->JS::Value->dom::Record.

You need to log in before you can comment on or make changes to this bug.