Skip to content

Proposal: Functions for converting from and to character (UTF-16) codes #192

Open
@brodo

Description

@brodo

I am using node-red to talk to IoT devices via modbus and so far I could use jsonata for all data transformation necessary. However, today I needed to convert between characters and their character codes. JavaScript has the String.fromCharCode(INT) and STRING.charCodeAt() functions for that. It would be nice to expose these to jsonata. Maybe as $charCode() and $fromCharCode(). I am willing to do a PR for that. However, before I put any effort into it I would like to know if you guys are interested in it.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions