Safe Haskell | None |
---|---|
Language | Haskell2010 |
Auto generated module by json-autotype
Synopsis
- (.:??) :: FromJSON a => Object -> Text -> Parser (Maybe a)
- data LatestTopics = LatestTopics {}
- data Topics = Topics {}
- data Tasks = Tasks {
- data Progress = Progress {}
- data Job = Job {}
- data T = T {}
- data WordsKeyElt = WordsKeyElt {}
- data LatestKeywords = LatestKeywords {}
- data Keywords = Keywords {}
- data Length = Length {}
- data Metadata = Metadata {}
- data WordsTranscriptsElt = WordsTranscriptsElt {}
- data LatestTranscripts = LatestTranscripts {}
- data Transcripts = Transcripts {}
- data Media = Media {}
- data Self = Self {}
- data Links = Links {}
- data Transcript = Transcript {}
- parse :: ByteString -> Either String Transcript
Documentation
(.:??) :: FromJSON a => Object -> Text -> Parser (Maybe a) Source #
Workaround for https://github.com/bos/aeson/issues/287.
data LatestTopics Source #
Instances
Instances
Eq Topics Source # | |
Show Topics Source # | |
Generic Topics Source # | |
FromJSON Topics Source # | |
type Rep Topics Source # | |
Defined in Json.TranscriptTypes type Rep Topics = D1 (MetaData "Topics" "Json.TranscriptTypes" "voicebase-0.1.1.4-Lddxg5ZBF8j6xdnz2cdbBg" False) (C1 (MetaCons "Topics" PrefixI True) (S1 (MetaSel (Just "topicsLatestTopics") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 LatestTopics))) |
Instances
Eq Progress Source # | |
Show Progress Source # | |
Generic Progress Source # | |
FromJSON Progress Source # | |
type Rep Progress Source # | |
Defined in Json.TranscriptTypes type Rep Progress = D1 (MetaData "Progress" "Json.TranscriptTypes" "voicebase-0.1.1.4-Lddxg5ZBF8j6xdnz2cdbBg" False) (C1 (MetaCons "Progress" PrefixI True) (S1 (MetaSel (Just "progressStatus") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: (S1 (MetaSel (Just "progressJobId") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "progressTasks") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Tasks)))) |
data WordsKeyElt Source #
Instances
data LatestKeywords Source #
Instances
Instances
Eq Keywords Source # | |
Show Keywords Source # | |
Generic Keywords Source # | |
FromJSON Keywords Source # | |
type Rep Keywords Source # | |
Defined in Json.TranscriptTypes type Rep Keywords = D1 (MetaData "Keywords" "Json.TranscriptTypes" "voicebase-0.1.1.4-Lddxg5ZBF8j6xdnz2cdbBg" False) (C1 (MetaCons "Keywords" PrefixI True) (S1 (MetaSel (Just "keywordsLatestKeywords") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 LatestKeywords))) |
Instances
Eq Length Source # | |
Show Length Source # | |
Generic Length Source # | |
FromJSON Length Source # | |
type Rep Length Source # | |
Defined in Json.TranscriptTypes type Rep Length = D1 (MetaData "Length" "Json.TranscriptTypes" "voicebase-0.1.1.4-Lddxg5ZBF8j6xdnz2cdbBg" False) (C1 (MetaCons "Length" PrefixI True) (S1 (MetaSel (Just "lengthDescriptive") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text) :*: S1 (MetaSel (Just "lengthMilliseconds") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Double))) |
Instances
Eq Metadata Source # | |
Show Metadata Source # | |
Generic Metadata Source # | |
FromJSON Metadata Source # | |
type Rep Metadata Source # | |
Defined in Json.TranscriptTypes type Rep Metadata = D1 (MetaData "Metadata" "Json.TranscriptTypes" "voicebase-0.1.1.4-Lddxg5ZBF8j6xdnz2cdbBg" False) (C1 (MetaCons "Metadata" PrefixI True) (S1 (MetaSel (Just "metadataLength") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Length) :*: S1 (MetaSel (Just "metadataContentType") NoSourceUnpackedness NoSourceStrictness DecidedLazy) (Rec0 Text))) |
data WordsTranscriptsElt Source #
Instances
data LatestTranscripts Source #
Instances
data Transcripts Source #
Instances
Media | |
|
Instances
data Transcript Source #
Instances
parse :: ByteString -> Either String Transcript Source #