Project

Profile

Help

Bug #6539

open

PySaxonProcessor.parse_json does not create a PyXdmMap

Added by O'Neil Delpratt 2 months ago. Updated 4 days ago.

Status:
New
Priority:
Normal
Category:
-
Start date:
2024-09-18
Due date:
% Done:

0%

Estimated time:
Applies to branch:
12, trunk
Fix Committed on Branch:
Fixed in Maintenance Release:
Found in version:
12.5
Fixed in version:
SaxonC Languages:
Python
SaxonC Platforms:
All, Linux, Windows, macOS
SaxonC Architecture:

Description

The following example fails in producing the correct subtype when parsing JSON on the PySaxonProcessor:

json1 = """{ "test" : "This is a test. Price is higher than 25 €. " }"""

parsed_json1 = proc.parse_json(json_text=json1)
print(type(parsed_json1.head))

I tried to get the map or function but both fails.

Actions #1

Updated by O'Neil Delpratt 4 days ago

  • Assignee set to O'Neil Delpratt

Please register to edit this issue

Also available in: Atom PDF