Skip to content

Convert DOM to perlish object? #2101

Answered by Grinnz
hussam-qasem asked this question in Q&A
Discussion options

You must be logged in to vote

Not automatically, XML does not map to a json-like data structure. Your best option is to use Mojo::DOM and knowledge of the specific format you are receiving to translate it into an object in the structure that makes sense to you.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@hussam-qasem
Comment options

@Grinnz
Comment options

Grinnz Sep 12, 2023
Collaborator

Answer selected by hussam-qasem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants