DataFactoryBaseSerializeJson Method
Serializes the Json data to a disk file.
Namespace: Common.Core.ClassesAssembly: Common.Core (in Common.Core.dll) Version: 2.1.5
protected static bool SerializeJson(
Object obj,
string path,
string file,
JsonSerializerOptions options
)
- obj Object
- Object containing the data.
- path String
- Location for the Json data file.
- file String
- Name of the file. If not supplied the default name is used.
- options JsonSerializerOptions
- Serialization options.
Boolean if the data was serialized, otherwise
is returned.