- From: Samuel Åslund <notifications@github.com>
- Date: Mon, 08 Apr 2019 00:19:29 -0700
- To: whatwg/fetch <fetch@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 8 April 2019 07:19:51 UTC
Actually what is needed is not really the same callback. What is needed is a way to define transformations and Class assignments to do while parsing the JSON string.
Something like:
* Value matches this RegExp assign this class.
* Value contains this tag assign this class.
* Values matching this tag should not be included.
Basicly an array of
{ matcher: "RegExp", regexp: "...", stdclass:"Date"},
{ matcher: "Tag", tag: "@type", value:"Address", userclass:"Address"}
{ matcher: "Tag", tag: "internal", delete: "true"}
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/fetch/issues/104#issuecomment-480713742
Received on Monday, 8 April 2019 07:19:51 UTC