Skip to main content

Parser vs. Analysis Comparison

The Payload Parser was created to handle raw payloads sent by devices in order to extract measured variables or execute simple operations. The Analysis feature is more powerful — it includes access to Devices and external services, but there is a cost to run analyses. Payload Parser uses a simple JavaScript engine developed by TagoIO to be easy, lightweight, and free.

Comparison

FeaturesPayload ParserAnalysisCode size limit64kb5MBLanguageSimple JavaScript syntaxFull JavaScript and othersAsyncNoYesSyncYesYesAllows custom functionsYesYesAllows external integrationNoYesAllows requires/importsNo (only built-in functions)YesConsole log or contextYes (Device Inspector)YesTimeout1,000 msCustomTry/CatchNo — an error stops parsingYesPredefined variablesmsgdevice, context, scope, resultNeeds Action to trigger itNoYesCost of the serviceFreeCheck out /pricing

Notes