JsonPoke.MSBuild
JsonPoke and JsonPeek build tasks: Usage : JSON Poke: 1. <JsonPoke JsonInputPath="$(MSBuildProjectDirectory)\Project.json" JValue="Empty-FromTest1" JPath="Project.Name"> </JsonPoke> 2 a. <JsonPoke JsonInputPath="$(MSBuildProjectDirectory)\Project.json" JArray="@(TestArray1)" JPath="Project.TestArray" Metadata="MyProp;Identity"> </JsonPoke> 2 b. <JsonPoke JsonInputPath="$(MSBuildProjectDirectory)\Project.json" JArray="t11.txt;t22.txt" JPath="Project.TestArray1"> </JsonPoke> 3. <JsonPoke JsonInputPath="$(MSBuildProjectDirectory)\Project.json" JObject="@(BuildNumber)" JPath="Project.TestObject" Metadata="Major;Minor;Build"> <PropertyGroup> <JsonContent> <![CDATA[{ "Projects":[ { "Name": "P1", "OutputFile": "P1.json", "Variables": [ "Var1", "Var2" ]}, { "Name": "P2", "OutputFile": "P2.json", "Variables": [ "Var1", "Var2" ] } ] } ]]> </JsonContent> </PropertyGroup> <JsonPeek JPath="$.Projects" JsonContent="$(JsonContent)"> <Output TaskParameter="Result" ItemName="TestProjects" /> </JsonPeek> <Message Text="Project.IncludedLibraryVariableSetIds[?(@.Name == 'Lib-69')].Value : @(Lib69Value)" /> <Message Text="Project values: %(TestProjects.Name)" />
Activity
- Latest release
- 9y ago
- Total releases
- 10
- Cadence
- ~7 days
- Last 12 months
- 0
Details
- First release
- Sep 24, 2014
| Version | Released | |
|---|---|---|
1.0.9
patch
|
1.0.9
patch
|
|
1.0.8
patch
|
1.0.8
patch
|
|
1.0.7
patch
|
1.0.7
patch
Dependencies (1)
|
|
1.0.6
patch
|
1.0.6
patch
Dependencies (1)
|
|
1.0.5
patch
|
1.0.5
patch
Dependencies (1)
|
|
1.0.4
patch
|
1.0.4
patch
Dependencies (1)
|
|
1.0.3
patch
|
1.0.3
patch
Dependencies (1)
|
|
1.0.2
patch
|
1.0.2
patch
Dependencies (1)
|
|
1.0.1
patch
|
1.0.1
patch
Dependencies (1)
|
|
1.0.0
initial
|
1.0.0
initial
Dependencies (1)
|