Commit fb2207c0 by Harish Butani

expose single type serialization helper method

parent 36e8243a
......@@ -53,6 +53,10 @@ import org.json4s.native.Serialization._
*/
object TypesSerialization {
def toJson(ts : TypeSystem, typName : String) : String = {
toJson(ts, List(typName):_*)
}
def toJson(ts : TypeSystem, typNames : String*) : String = {
toJson(ts, (typ : IDataType[_]) => typNames.contains(typ.getName))
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment