Questions tagged [json]
JSON (JavaScript Object Notation) is a 100% textual data interchange format originally inspired by JavaScript objects. It is widely used in RESTful web services. Parsers for JSON exist in nearly all languages, and libraries also exist which can deserialize JSON to native objects or serialize native objects to JSON.
44 questions
3
votes
1
answer
68
views
Can I force expansion in JSONParseArrayMapFunction?
I have a JSON file that I would like to parse, for which I am using the package jsonparse. I would like to split some of the strings in an array and extract that information into separate variables. ...
3
votes
0
answers
44
views
Different authors handled as same author in bibliography when using CSL style
Problem
I have two bibliographic entries in my database with similar author fields.
In the first case, it is an article only by author A. In the second case, A (Luz) is the first author, followed by B,...
1
vote
2
answers
89
views
parse json and prevent empty lines if keys dont exist
I need to parse this json and build a text line with information of doi, issn, isbn:
{
"title": "Some title",
"congress": "Some congress"
"...
2
votes
1
answer
111
views
boolean macro does not work
I want to build the "publications" section of my CV taking info from a json files. This is one of the json files:
{
"title": "Some title",
"congress": &...
2
votes
1
answer
107
views
Problems with node style in .sty file when using lualatex
I have a custom readJson.sty file which reads as
\NeedsTeXFormat{LaTeX2e}[1994/06/01]
\ProvidesPackage{readJson}[2025/01/15 Package]
\RequirePackage{fontspec}
\RequirePackage{luacode}
\RequirePackage{...
4
votes
2
answers
138
views
How to access values in \JSONParseArrayValuesMap?
Good day everybody
atm I am trying to figure out \JSONParse
I stuck at the problem, where I can't display array of items from the .json
json as example:
{
"equipment" : [
{
...
4
votes
2
answers
251
views
Package jsonparse not working with \ifthenelse
I am trying to use the package jsonparse1 (github page here, with documentation).
I am reading some data from json files, and I have to fill my documents depending on the json entries, therefore I (...
5
votes
3
answers
463
views
Help with generating invoices from JSON data using LaTeX
I'm looking for help with creating a LaTeX template that can generate invoices from a JSON file. The JSON file contains customer-specific data, such as payee information, items sold, and general ...
0
votes
0
answers
49
views
How can I make a single .tex file by parsing several different .json files?
For context: I'm trying to make an automated procedure that takes files from a videogame - in json format - automatically creates a manual for them.
I'll give you an example: there is a mod that adds ...
0
votes
1
answer
191
views
Ignoring curly braces when citing JSON code
Is there any other way to escape curly braces in JSON code when citing code using the \texttt{} option other than using the backslash?
Using the commandchars=\\\{\} causes the backslash escape ...
0
votes
1
answer
143
views
Highlighting on lists of strings and lists of numbers in a listing
I am following the format used by this answer to color a json listing on my document, but I noticed that in a list of strings and a list of numbers, only the first element gets colored properly. Is ...
1
vote
2
answers
733
views
I am trying to post json arrays as text in LaTeX
as the title states I'm trying to have my json arrays be posted as text in LaTeX. I'm using VSCode as editor.
I'd like to have this json array be posted as a list in LaTeX but can't figure out how to ...
2
votes
2
answers
236
views
Define categorized, changeable variables for use throughout a document
TL;DR
How do I print categorized and subcategorized values declared in a JSON file (or in some similar type of file) inside of a LaTeX document?
In my document, I am assigning a bunch of values to ...
0
votes
0
answers
681
views
use bibjson with latex
I'm trying to use bibjson for a LaTeX document. Here are my files:
ecm.tex
\documentclass{article}
\begin{document}
Hello \cite{foo_ref}.
\bibliographystyle{unsrtnat}
\bibliography{ecm}
\...
0
votes
1
answer
188
views
Add two text column into a frame
I'm new to Latex and to Lyx as well. I'm trying to create a frame in Lyx containing 2 columns, the first one being JSON formatted text, and the second one being comments of the lines of the fist ...