Getting cyclic reference for a simple json with datajson:toJson
method
#7362
Labels
module/data.jsondata
Priority/Highest
Reason/EngineeringMistake
The issue occurred due to a mistake made in the past.
Type/Bug
Description
This is happening after this fix: ballerina-platform/module-ballerina-data.jsondata#51
Steps to Reproduce
Try to run the following command in http after updating
stdlibDataJsonDataVersion=0.3.0-20241113-131800-94297e4
in thegradle.properties
file.This is happening in this step: https://github.com/ballerina-platform/module-ballerina-http/blob/3feb04b51a86377cb78b0f8a9a8cc296ef4e5957/ballerina-tests/http2-tests/tests/http2_client_upgrade_with_large_payload_test.bal#L134 where we call
setPayload
with a raw json value. This function internally call thejsondata:toJson
methodVersion
Ballerina SwanLake Update 11
Environment Details (with versions)
Mac OS
The text was updated successfully, but these errors were encountered: