Module to export Niagara bql results to json format
This module can convert Niagara BQL query results into JSON format output, facilitating the display of Niagara point data on standard HTML pages. The relevant usage instructions are included within the module.

The standard json format is as following sample:

Here is red-high alarm bql to json:
alarm:|bql:select alarmData.sourceName as 'sourceName', source as 'source', timestamp as 'timestamp', normalTime as 'normalTimestamp', sourceState as 'state', alarmClass as 'alarmClass', alarmData.msgText as 'msgText', ackState as 'ackState', uuid as 'uuid' where timestamp > '2026-03-24T00:00:00.000+08:00' and alarmClass = 'Red_High' order by timestamp desc
