hosc-json-0.16: Haskell Open Sound Control JSON Serialisation

Safe HaskellNone
LanguageHaskell98

Sound.OSC.Type.JSON.Aeson

Contents

Description

Encoding and decoding of OSC types as JSON values.

Synopsis

Library variant

Encoders

encode_integer :: Integer -> Value Source #

All Integral values are packed to Integer.

encode_double :: Double -> Value Source #

All Floating values are packed to Double.

encode_assoc :: (String, Value) -> Value Source #

Pack (key,value) pair to JSObject.

encode_assoc ("a",encode_int 0)

Decoders