ruby-marshal-0.0.1: Parse a subset of Ruby objects serialised with Marshal.dump.

Copyright(c) Philip Cunningham, 2015
LicenseMIT
Maintainerhello@filib.io
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Data.Ruby.Marshal.Get

Description

Ruby Marshal deserialiser using Data.Serialize.

Synopsis

Documentation

getMarshalVersion :: Marshal (Word8, Word8) Source

Deserialises Marshal version.

getRubyObject :: Marshal RubyObject Source

Deserialises a subset of Ruby objects.

getNil :: Marshal () Source

Deserialises nil.

getBool :: Marshal Bool Source

Deserialises true and false.

getArray :: Marshal a -> Marshal (Vector a) Source

Deserialises Array.

getHash :: forall k v. Ord k => Marshal k -> Marshal v -> Marshal (Map k v) Source

Deserialises Hash.