Comments (5)
I have the same question!
In the meantime I intend on implementing the compact serialization myself, as it doesn't seem too difficult. I will post back here with my results once I figure it out... But just to be clear I am running this library in Swift, so my implementation will probably only slightly help you write your own in C @bineshtj
from jose.
I'm also doing the same in the meantime. Well do post a link of what you achieve.
from jose.
The output is actually done by the JSON library we use, jansson
(documentation here: https://jansson.readthedocs.io/en/2.12/).
Functions like jose_jwe_enc
will work with json_t*
types from jansson
, and eventually we print its content with functions like json_dumps
or json_dumpf
, for instance. These functions take flags to control their representation, and one of them is JSON_COMPACT
, which seems to be what you are looking for.
from jose.
@bineshtj : did the usage of JSON_COMPACT, suggested by @sergio-correia (thanks Sergio) worked for your purpose? Can we close this issue?
from jose.
Yes please. Thanks.
from jose.
Related Issues (20)
- [minor] Replace usage of which
- [minor] Possibly probe for jq in meson.build HOT 1
- Consider increasing test timeouts
- [Question] How to correctly verify JWS for OIDC?
- [Question] How to use the library with a (software) HSM?
- 11: test suite is failing HOT 11
- Entering password (-p) in scripts HOT 4
- Dual license with MIT?
- Release v12
- Does not link against OpenSSL 3 HOT 3
- Fedora rawhide container failing due to issues on dnf.conf format HOT 2
- Github actions should be migrated so that version v3 is used
- Decrypt Error with Open SSL 3 HOT 4
- OpenSSL 3.1 decryption issue
- RSA-OAEP padding is not enable by default
- Test `alg_comp` fails when using a different zlib implementation
- Properly zeroing json objects obtained from functions
- CVE-2023-50967: Denial of service via a large p2c value HOT 2
- Issues with lld 18 on FreeBSD HOT 1
- Release v13
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jose.