def atomic_value
import qasim-bend-kit@0.1.0.2/proof/JSON_SourceProof.bend as JSONSourceProofimport Base
import qasim-bend-kit@0.1.0.2/libs/JSON.bend as J
201def atomic_value(atom: AtomicValue) -> J.Value:
202 match atom:
203 case AtomicNull{}: J.Null{}
204 case AtomicTrue{}: J.Bool{True{}}
205 case AtomicFalse{}: J.Bool{False{}}
206 case AtomicNumber{text, certificate}: J.Number{text, certificate}
207 case AtomicString{text}: J.Str{text}
Uses (3)
Used by (11)
- qasim-bend-kit@0.1.0.2/proof/JSON_SourceProof:simple_value
- qasim-bend-kit@0.1.0.2/proof/JSON_SourceProof:lex_atomic_reverse_before_punctuation
- qasim-bend-kit@0.1.0.2/proof/JSON_RenderLexProof:atomic_end
- qasim-bend-kit@0.1.0.2/proof/JSON_RenderLexProof:atomic_lex
- qasim-bend-kit@0.1.0.2/proof/JSON_RenderLexProof:atomic_mode_end
- …