Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added example

...

Options

none

Example

PQL

Code Block
languagejs
titleJSONProtocolHandler
linenumberstrue
json = ACCESS({
    source='json', 
    wrapper='GenericPull',
    transport='File',
    protocol='JSON',
    dataHandler='KeyValueObject',   
    options=[['filename','scrobbles-2006-10.json']]
})
Code Block
themeEclipse
languagejavascript
titleJSON Protocol Handler
linenumberstrue
input = ACCESS({source='JSON', wrapper='GenericPush',
transport='File',protocol='JSON',
  dataHandler='Tuple',options=[],
  schema=[
    ['symbol','String'],
    ['points','Double'] ]
})

...