cborld icon indicating copy to clipboard operation
cborld copied to clipboard

A Javascript CBOR-LD processor for web browsers and Node.js apps.

Results 22 cborld issues
Sort by recently updated
recently updated
newest added

Hi, please look at this example: document ```json { "@context": "https://raw.githubusercontent.com/filip26/iridium-cbor-ld/main/src/test/resources/com/apicatalog/cborld/encoder/0025-context.jsonld", "a": "Note", "x": { "a": "x", "b": "y", "d": 106 }, "y": {"a": "x", "b": "y", "c": 102 }...

Hi, please try this example: context: ```json { "@context": { "@vocab": "https://w3id.org/security#", "value": { "@type": "multibase" } } } ``` document: ```json { "@context": "https://.../0012-context.jsonld", "value": "z4mAs9uHU16jR4xwPcbhHyRUc6BbaiJQE5MJwn3PCWkRXsriK9AMrQQMbjzG9XXFPNgngmQXHKUz23WRSu9jSxPCF" } ``` the...

See: https://github.com/digitalbazaar/cborld/blob/v8.0.0/lib/encode.js#L23 Update examples in the spec to use the new API and move the old examples to a legacy section.

Can this be removed? Was it for a local file? _Originally posted by @davidlehn in https://github.com/digitalbazaar/cborld/pull/87#discussion_r1676114972_

We should consider some simpler API that will do the registry lookup based on the `varintValue` (to be renamed potentially to something like `registryEntryId` ... I dunno) and get the...

Tag range 1500-1800, which includes sub-range 0x0600-0x06FF (1536-1791) is to be registered for CBOR-LD use. A flag should be added to optionally use the new tags 0x0600 (uncompressed mode) and...

This value is used here but not registered in the [spec](https://github.com/digitalbazaar/cbor-ld-spec/): ```js _addRegistration(0x32, 'https://purl.imsglobal.org/spec/ob/v3p0/context.json'); ``` If the id is stable enough to last forever, it should be registered in the...

CBOR-LD is designed such that it expects valid JSON-LD to be passed to it for compression, however, we should have some better error messages both during compression and decompression when...

Hi, the current term to code dictionary implementation includes only applied scoped contexts indexed in the application order?! This solution prevents generating static dictionaries for well-known context (sets) - the...

Hi, just an idea to improve compress ratio. Consider this example: ```json { "@context": { "type": "@type" } } ``` ```json { "@context": "...", "type": ["type-id1"] } ``` the compressed...