-
Notifications
You must be signed in to change notification settings - Fork 42
Open
Description
Problem statement
I have data in the format
var data3 = {
ClientID:'25',
ProviderID:'26',
ProviderClientID:'DEMO1815',
SSN:'377215685'
};
Mapping data:
var template = {
foo: [{
bar:'$.ProviderClientID'
}]
};
Also tried with mapping:
var template = {
foo: ['$',{
bar:'$.ProviderClientID'
}]
};
Throws error
jsonpath-object-transform-master/node_modules/JSONPath/lib/jsonpath.js:41
var normalized = expr.replace(/['[]']/g, function($0,$1){return "[#"+(subx.push($1)-1)+"]";})
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels