API reference
API reference
Select your platform
No SDKs available
No versions available

ExportParser Class

Parses the Wit.ai Export zip file
Meta::WitAi::ExportParser extends Meta.WitAi.PluggableBase< IExportParserPlugin >.

Overview

Public Member Functions

List< ZipArchiveEntry >
GetJsonFileNames
( string folder,
ZipArchive zip )
Finds all the Json files canvases in the zip archive under the given folder
ExtractJson
( ZipArchive zip,
string fileName )
Extracts a Wit JSON object representing the given json file
void
ProcessExtensions
ZipArchive zip )
Calls Process on all IExportParserPlugin objects within the project's loaded assemblies

Details

Member Functions

Meta.WitAi.ExportParser.ExportParser ( )
No description available.
List<ZipArchiveEntry> Meta.WitAi.ExportParser.GetJsonFileNames
( string folder,
ZipArchive zip )
Finds all the Json files canvases in the zip archive under the given folder
Returns
new list of entries which represent json files
WitResponseNode Meta.WitAi.ExportParser.ExtractJson
( ZipArchive zip,
string fileName )
Extracts a Wit JSON object representing the given json file
Parameters
zip
zip archive from Wit.ai export
fileName
one of the file names
Returns
The entire canvas structure as nested JSON objects
void Meta.WitAi.ExportParser.ProcessExtensions
ZipArchive zip )
Calls Process on all IExportParserPlugin objects within the project's loaded assemblies
Parameters
config
the config to pass to the Process function
zip
the zip archive to pass ot the Process function
Did you find this page helpful?
Thumbs up icon
Thumbs down icon