Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fromJSON toJSON转换异常 #4002

Closed
mingmingshiliyu opened this issue Nov 1, 2023 · 2 comments
Closed

fromJSON toJSON转换异常 #4002

mingmingshiliyu opened this issue Nov 1, 2023 · 2 comments

Comments

@mingmingshiliyu
Copy link

Describe the bug

[{"params":{"clazz":"","label":"","type":"","shape":"","description":"","view":""},"attrs":{"text":{"fill":"#000000","fontFamily":"Arial, helvetica, sans-serif","fontSize":"","refX":"","refY":"","text":"hellookdawodjaod","textAnchor":"middle","textVerticalAnchor":"middle"},"body":{"stroke":"","strokeWidth":0,"fill":"","rx":0,"ry":0}},"id":"3b5cb057-6698-42b6-aa36-9e6cd3348817","Ports":{"groups":null,"items":null},"position":{"x":200,"y":200},"shape":"circle","size":{"width":0,"height":0},"visible":true,"zIndex":4,"source":{"cell":""},"target":{"cell":""},"task":{"extendedParams":null,"params":null,"actionName":"","successProbe":null,"failProbe":null,"retryProbe":null,"relayKeys":null},"clazz":"","assignType":"","assignValue":"","businessID":0,"businessType":"","promoterID":0,"operatorID":0},{"params":{"clazz":"","label":"","type":"","shape":"","description":"","view":""},"attrs":{"text":{"fill":"#000000","fontFamily":"Arial, helvetica, sans-serif","fontSize":"","refX":"","refY":"","text":"hello","textAnchor":"middle","textVerticalAnchor":"middle"},"body":{"stroke":"#8f8f8f","strokeWidth":1,"fill":"#fff","rx":6,"ry":6}},"id":"node1","Ports":{"groups":null,"items":null},"position":{"x":40,"y":40},"shape":"rect","size":{"width":0,"height":0},"visible":true,"zIndex":4,"source":{"cell":""},"target":{"cell":""},"task":{"extendedParams":null,"params":null,"actionName":"","successProbe":null,"failProbe":null,"retryProbe":null,"relayKeys":null},"clazz":"","assignType":"","assignValue":"","businessID":0,"businessType":"","promoterID":0,"operatorID":0},{"params":{"clazz":"","label":"","type":"","shape":"","description":"","view":""},"attrs":{"text":{"fill":"#000000","fontFamily":"Arial, helvetica, sans-serif","fontSize":"","refX":"","refY":"","text":"world","textAnchor":"middle","textVerticalAnchor":"middle"},"body":{"stroke":"","strokeWidth":0,"fill":"","rx":0,"ry":0}},"id":"node2","Ports":{"groups":null,"items":null},"position":{"x":160,"y":180},"shape":"rect","size":{"width":0,"height":0},"visible":true,"zIndex":4,"source":{"cell":""},"target":{"cell":""},"task":{"extendedParams":null,"params":null,"actionName":"","successProbe":null,"failProbe":null,"retryProbe":null,"relayKeys":null},"clazz":"","assignType":"","assignValue":"","businessID":0,"businessType":"","promoterID":0,"operatorID":0},{"params":{"clazz":"","label":"","type":"","shape":"","description":"","view":""},"attrs":{"text":{"fill":"#000000","fontFamily":"Arial, helvetica, sans-serif","fontSize":"","refX":"","refY":"","text":"开始","textAnchor":"middle","textVerticalAnchor":"middle"},"body":{"stroke":"#8f8f8f","strokeWidth":1,"fill":"#fff","rx":0,"ry":0}},"id":"2f087b43-9b01-4b74-b795-dc671fe98876","Ports":{"groups":null,"items":null},"position":{"x":50,"y":170},"shape":"image","size":{"width":0,"height":0},"visible":true,"zIndex":5,"source":{"cell":""},"target":{"cell":""},"task":{"extendedParams":null,"params":null,"actionName":"","successProbe":null,"failProbe":null,"retryProbe":null,"relayKeys":null},"clazz":"start","assignType":"user","assignValue":",1,","businessID":0,"businessType":"","promoterID":0,"operatorID":0},{"params":{"clazz":"","label":"","type":"","shape":"","description":"","view":""},"attrs":{"text":null,"body":{"stroke":"","strokeWidth":0,"fill":"","rx":0,"ry":0}},"id":"3933fa23-321d-4de3-9d8e-9d9d625ee698","Ports":{"groups":null,"items":null},"position":{"x":0,"y":0},"shape":"edge","size":{"width":0,"height":0},"visible":false,"zIndex":4,"source":{"cell":"node1"},"target":{"cell":"node2"},"task":{"extendedParams":null,"params":null,"actionName":"","successProbe":null,"failProbe":null,"retryProbe":null,"relayKeys":null},"clazz":"","assignType":"","assignValue":"","businessID":0,"businessType":"","promoterID":0,"operatorID":0},{"params":{"clazz":"","label":"","type":"","shape":"","description":"","view":""},"attrs":{"text":null,"body":{"stroke":"","strokeWidth":0,"fill":"","rx":0,"ry":0}},"id":"6d098a53-d91a-4964-b1c3-3dba99cb99d7","Ports":{"groups":null,"items":null},"position":{"x":0,"y":0},"shape":"edge","size":{"width":0,"height":0},"visible":false,"zIndex":6,"source":{"cell":"2f087b43-9b01-4b74-b795-dc671fe98876"},"target":{"cell":"node1"},"task":{"extendedParams":null,"params":null,"actionName":"","successProbe":null,"failProbe":null,"retryProbe":null,"relayKeys":null},"clazz":"","assignType":"","assignValue":"","businessID":0,"businessType":"","promoterID":0,"operatorID":0}]

image

Your Example Website or App

none

Steps to Reproduce the Bug or Issue

我把图片tojson然后保存到mysql,取出后fromjson(json.parse(content)),然后报错怎么办
image

Expected behavior

正常展示

Screenshots or Videos

No response

Platform

  • OS: [e.g. macOS, Windows, Linux]
  • Browser: [e.g. Chrome, Safari, Firefox]
  • Version: [e.g. 2.11.1]

Additional context

No response

@mingmingshiliyu
Copy link
Author

解决了

@x6-bot
Copy link
Contributor

x6-bot bot commented Jan 29, 2025

This thread has been automatically locked because it has not had recent activity.

Please open a new issue for related bugs and link to relevant comments in this thread.

@x6-bot x6-bot bot locked as resolved and limited conversation to collaborators Jan 29, 2025
# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant