Skip to content

Consider passing JsonDocument as VAR_IN_OUT #8

Description

@drsoran

Couldn't we pass the `JsonDocument' as IN_OUT instead of REF_TO? This had the advantage of direct accessing it via '.' operator. Plus I do not need to be prepared for a possible 'NULL'.

https://github.com/simatic-ax/Json/blob/56789c43fda812f2fa464edbc1008a72b800e7ee/src/Elements/IJsonElement.st#L8

Didn't have checked all usages to it may be better to pass as REF_TO...🤔

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions