Members
Methods
(static) fromJSON(record, o) → {Result}
Parameters:
Name | Type | Description |
---|---|---|
record |
Record
|
|
o |
any
|
Returns:
- Type:
-
Result
actualField(field) → {string}
Parameters:
Name | Type | Description |
---|---|---|
field |
string
|
Returns:
- Type:
-
string
The value for the field
addActualField(field, value) → {void}
Adds the actual value for an expected field to the result
Parameters:
Name | Type | Description |
---|---|---|
field |
string
|
The name of the field |
value |
string
|
The value of the field |
Returns:
- Type:
-
void
addOutputField(field, value) → {void}
Adds a field to the output results - these are fields that are not expected or actual but are helpful info about the record
Parameters:
Name | Type | Description |
---|---|---|
field |
string
|
The name of the field |
value |
string
|
The value of the field |
Returns:
- Type:
-
void
addTag(key, value) → {void}
Parameters:
Name | Type | Description |
---|---|---|
key |
string
|
|
value |
string
|
Returns:
- Type:
-
void
outputField(field) → {string}
Gets a specific output field
Parameters:
Name | Type | Description |
---|---|---|
field |
string
|
Returns:
- Type:
-
string
The value of the field