2 ms·
> but let's say we need to share these credential objects between different systems that do not have prior knowledge of how to evaluate the credential data Wel
by valenterry 5y ago
> but let's say we need to share these credential objects between different systems that do not have prior knowledge of how to evaluate the credential data
Well, they _must_ have prior knowledge about it, because they must have to understand the concept of JsonLogic beforehand. So instead, you can just make these systems understand a proper programming language that can produce outputs. Something like https://github.com/dhall-lang/dhall-lang https://github.com/dhall-lang/dhall-lang would probably be a much better option for this usecase.
- sebmellen 5y agoWith the standard that we're working with (the W3C's "Verifiable Credentials" standard [0]) having something that's in JSON or at least "JSON-compatible" is quite important. [0]: https://www.w3.org/TR/vc-data-model/ https://www.w3.org/TR/vc-data-model/
- valenterry 5y agoNo problem, just serialize the dhall into a json string.