writeJSON

Write a jsonizeable object to a file.

void
writeJSON
(
T
)
(
string path
,
T obj
)

Parameters

path
Type: string

filesystem path to write json to

obj
Type: T

object to convert to json and write to path

Meta