Skip to main content
Question

Extending Some U2Basic Functions

  • May 26, 2025
  • 2 replies
  • 1 view

The Universe UDO... functions handle UDOFORMAT_XML and UDOFORMAT_JSON just fine. Is any effort in progress to extend them to UDOFORMAT_YAML?

2 replies

Manu Fernandes
Forum|alt.badge.img+2
  • Inspiring
  • 257 replies
  • May 26, 2025

The Universe UDO... functions handle UDOFORMAT_XML and UDOFORMAT_JSON just fine. Is any effort in progress to extend them to UDOFORMAT_YAML?

Hi

If you need yaml to/from json, Let's do it with py call ? No?

Yaml and json are two standard package easy to call from BASIC via PYCALL. 

Just a idea. 

Manu 


  • Author
  • Participating Frequently
  • 12 replies
  • May 27, 2025

The Universe UDO... functions handle UDOFORMAT_XML and UDOFORMAT_JSON just fine. Is any effort in progress to extend them to UDOFORMAT_YAML?

Thanks Manu, but I've already done this in Python. My company prefers, as much as possible, to program in U2Basic, so I'm asking if Rocket has plans to handle YAML as they've handled XML and JSON. After all, I could do those protocols in Python as well.