Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to convert JSON usin JSLT #332

Open
Al64v opened this issue Mar 7, 2024 · 1 comment
Open

How to convert JSON usin JSLT #332

Al64v opened this issue Mar 7, 2024 · 1 comment
Labels
support Users asking how to solve a specific issue

Comments

@Al64v
Copy link

Al64v commented Mar 7, 2024

Good afternoon! Please tell me how I can convert this json using jslt?

[ {
  "locgroup;abcdefg;loc;aut_uom" : "9001;9001;10004989;S"
}, {
  "locgroup;abcdefg;loc;aut_uom" : "1012;1012;10005165;S"
}]

Output:
[ {
  "locgroup" : "9001",
   "abcdefg" : "9001",
   "loc" : "10004989",
   "aut_uom":"S"
},
{
  "locgroup" : "1012",
   "abcdefg" : "1012",
   "loc" : "10005165",
   "aut_uom":"S"
}]
@larsga larsga added the support Users asking how to solve a specific issue label Mar 7, 2024
@larsga
Copy link
Collaborator

larsga commented Mar 7, 2024

You may want to look at the split() function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
support Users asking how to solve a specific issue
Projects
None yet
Development

No branches or pull requests

2 participants