w3c / w3c/webcrypto

JSON conversion

Open
#349 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
294
Forks
78
PR merge metrics
No merged PRs in 30d

Description

Let |bytes| be the byte sequence the results from converting |json|, a JavaScript String comprised of UTF-16 code points, to UTF-8 code points.

There's no such thing as UTF-8 code points.

Maybe you want https://infra.spec.whatwg.org/#serialize-a-javascript-value-to-json-bytes?

(Found while looking at #347.)

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the quoted JSON conversion definition in issue #349 and compare it with the referenced Infra specification section on serializing a JavaScript value to JSON bytes. Check the surrounding Web Cryptography specification text and issue #347 for context; done means resolving the terminology and updating the relevant definition, if a specific change is agreed.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.