IPWorks IoT 2020 Kotlin Edition

Questions / Feedback?

StartElement Event

Fired when a new element is encountered in the document.

Syntax

public open class DefaultJsonEventListener : JsonEventListener {
  ...
  public override fun startElement(e: JsonStartElementEvent) {}
  ...
}

public class JsonStartElementEvent {
  val element: String?
}

Remarks

The StartElement event is fired when a new element is found in the document.

The element name is provided through the Element parameter.

Copyright (c) 2021 /n software inc. - All rights reserved.
IPWorks IoT 2020 Kotlin Edition - Version 20.0 [Build 7941]