circuits-parser
Safe HaskellNone
LanguageGHC2024

Circuit.Parser.Json.Value

Description

The JSON tree.

One type, six constructors, no policy. Duplicate object keys are preserved in source order; what to do about them is a consumer decision, not a parsing one.

Synopsis

Documentation

data Json Source #

A JSON value.

JNumber is exact (Scientific: coefficient times ten to an exponent), so parsing loses nothing. JObject is an association list in source order.

Instances

Instances details
Eq Json Source # 
Instance details

Defined in Circuit.Parser.Json.Value

Methods

(==) :: Json -> Json -> Bool #

(/=) :: Json -> Json -> Bool #

Show Json Source # 
Instance details

Defined in Circuit.Parser.Json.Value

Methods

showsPrec :: Int -> Json -> ShowS #

show :: Json -> String #

showList :: [Json] -> ShowS #