ServiceNow, Inc.
STREAMING PARSER FOR STRUCTURED DATA-INTERCHANGE FILES

Last updated:

Abstract:

An embodiment may involve a computing system that includes a processor and memory. The memory may contain program instructions executable by the processor to repeatedly perform, for each block of a textual data-interchange file, operations including: obtaining a block of the file, where the block contains one or more records each containing one or more elements; identifying any pre-defined elements contained in records that are completed within the block, where the pre-defined elements are specified by a set of paths, the paths each hierarchically defining a location of an element within a record; storing, and into one or more files or one or more database tables, the pre-defined elements contained in records that are completed within the block; and determining whether the block ends with a partial record, and maintaining any such partial record for later storage in conjunction with processing of a subsequent block of the file.

Status:
Application
Type:

Utility

Filling date:

17 Sep 2018

Issue date:

19 Mar 2020