Last updated 4 years ago
Was this helpful?
Location: .
parses well-formed JSON documents from in-memory strings and supports manual external updates:
var source = new JsonStringSource("<json content>"); source.Push("<json content>") // update with new content
parses JSON files and automatically watches for changes:
var source = new JsonFileSource("settings/config.json");
A file that does not exist simply leads to a null , which implies default settings values unless something is .
null