Skip to content

ISSUE-263: (D10) CSV RFC 4180 compliance#265

Open
DiegoPino wants to merge 5 commits into1.1.0from
ISSUE-263-D10
Open

ISSUE-263: (D10) CSV RFC 4180 compliance#265
DiegoPino wants to merge 5 commits into1.1.0from
ISSUE-263-D10

Conversation

@DiegoPino
Copy link
Member

See #263

This does not YET solve any already existing CSVs that could have been wrongly escaped by external or internal sources. But it does ensure that anything generated by Archipelago, RFC external sources or scripts DOES not use escaping and does not break complex JSON or double quoted fields.

@DiegoPino DiegoPino self-assigned this Mar 13, 2026
@DiegoPino DiegoPino added enhancement New feature or request UI Buttons and pixels LoD Reconciliation Make your labels into Links and suffer Metadata Display Preview AMI Set integration with creative Twig template editing AMI Import Plugins Gets data from somewhere, puts data into a strawberry basked CSV Processing Things we do here and there to keep the tabulated goddesses happy labels Mar 13, 2026
@DiegoPino DiegoPino added this to the 1.1.0 milestone Mar 13, 2026
…limited strings OR JSON , but both. Processing might be slower, but more precise

@alliomeria as explained in slack, PHP decodes some primitives as JSON. With this new approach, when we check for Strings we discard ANY JSON that would end in an ARRAY (when decoded) and instead treat them as strings. Then we re-parse the same data (more time processing but once does not do LoD of a complete AMI set in realtime over and over, so that is Ok) as JSON. This also allows Mixed case CSVs, where some rows are simple strings to be processed by One Metadata Display, but other rows proper JSON, and still have LoD reconciliation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AMI Import Plugins Gets data from somewhere, puts data into a strawberry basked CSV Processing Things we do here and there to keep the tabulated goddesses happy enhancement New feature or request LoD Reconciliation Make your labels into Links and suffer Metadata Display Preview AMI Set integration with creative Twig template editing UI Buttons and pixels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant