Skip to content

Including "Array" type for the configuration file Value #362

Answered by NowinskiK
MartaUch asked this question in Q&A
Discussion options

You must be logged in to vote

I investigated the issue and found solution. In order to define an array correctly you must avoid using square brackets.
So, instead of this:

type,name,path,value
factory,BigFactorySample2,"$.properties.globalParameters.'GP-Array'.value","[2,4,""XYZ"",1000]"

Do this - correct format for array (in PowerShell):

type,name,path,value
factory,BigFactorySample2,"$.properties.globalParameters.'GP-Array'.value","2,4,""XYZ"",1000"

Replies: 6 comments 2 replies

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
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
2 replies
@MartaUch
Comment options

@MartaUch
Comment options

Answer selected by NowinskiK
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 #348 on August 16, 2023 22:46.