a!fromJson()

Certified Associate Developer

when I run the functon a!fromJson(). It gives the error

Error:==

The JsonText parameter does must not be null or empty

what should i do

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Associate Developer

    local!search:if(a!isNullOrEmpty(ri!input),

    {},

    a!fromJson(ri!input)

    ),

    local!pagingInfo:a!pagingInfo(

    startIndex:local!search.startIndex,

    batchSize:local!search.batchSize

    )

    when i apply a!nullorEmpty(ri!nput).in a!fromJson(ri!input)..It gives error at startIndex

    error:-

    invalid index:cannot index property startIndex of type String into type List of Variant

Reply
  • 0
    Certified Associate Developer

    local!search:if(a!isNullOrEmpty(ri!input),

    {},

    a!fromJson(ri!input)

    ),

    local!pagingInfo:a!pagingInfo(

    startIndex:local!search.startIndex,

    batchSize:local!search.batchSize

    )

    when i apply a!nullorEmpty(ri!nput).in a!fromJson(ri!input)..It gives error at startIndex

    error:-

    invalid index:cannot index property startIndex of type String into type List of Variant

Children