Skip to content

Imported data model not playing nicely with \equal from ifthen #31

Answered by jasperhabicht
WoosterUK asked this question in Q&A
Discussion options

You must be logged in to vote

Thank you for your question, however I am a bit relictant to open some .zip from an unknown source, but maybe you can create a minimal working example?

If you need to grab a string from a JSON file or JSON data string for further processing, you might want to use the \JSONParseExpandableValue command. I never tested this in combination with the ifthenelse package, but I would assume that you need to feed it an expandable command (which also might needs to be expanded first).

In general, the reason that testing with the \equal command has its hurdles is twofold:

  1. First, as stated in my previous comment and also in the package manual, if you want to further use the value you grab from JSON…

Replies: 4 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by jasperhabicht
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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
Converted from issue

This discussion was converted from issue #28 on October 29, 2024 22:03.