Added a parser for the rpgmaker CharSet format

This commit is contained in:
dalyjame
2019-06-26 15:08:15 -04:00
parent 2b001a9ab0
commit 6defc0ec04
3 changed files with 57 additions and 0 deletions

View File

@@ -86,6 +86,10 @@ object YamlHelper {
mapper.readValue[Map[String, T]](source)
}
def write[T](source: OutputStream, item: T) = {
mapper.writeValue(source, item)
}
def writeMap[T](source: OutputStream, items: Map[String, T])(implicit m: Manifest[T]) = {
mapper.writeValue(source, items)
}