README
MillisecondsSpanConverter
Sanitizer
SanitizeString
SanitizeStringHash
StringHash
Subtitles
ASS
Caption
Captions
Config
Arguments
Default
Format
JSON
LRC
Meta
SBV
SMI
SRT
SSA
Style
SUB
Substation
DialogueBeforeFormat
Regexes
StyleBeforeFormat
VTT
module
SanitizeString
Overview
Filter troublesome characters from the JSON. Currently just doubles up on backslashes.
Extended Modules
Sanitizer
Defined in:
converters.cr
Class Method Summary
.from_json
(value : JSON::PullParser)
.to_json
(value : String, builder : JSON::Builder)
Class Method Detail
def self.
from_json
(value : JSON::PullParser)
#
[
View source
]
def self.
to_json
(value : String, builder : JSON::Builder)
#
[
View source
]