logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
stigaard  
#1 Posted : Friday, September 29, 2017 4:56:18 AM(UTC)
stigaard

Rank: Advanced Member

Groups: Registered
Joined: 5/20/2015(UTC)
Posts: 493
Man
Denmark
Location: Copenhagen, Denmark

Thanks: 389 times
Was thanked: 100 time(s) in 79 post(s)
Hi vMixers,

I love using datasources, and use it as much as I can get my hands on it, there is however one detail that annoys me a lot on using JSON data sources.

JSON datasources are generally wrapped as an JSON object (my assumption), meaning that the format is something like {...CONTENT...}.
HOWEVER - vMix is not currently setup to recognise this as useful content, since it expects an array of objects [{...CONTENT...}].

I therefore propose a change to the way JSON sources are read, enabling JSON datasources to be auto wrapped into an array, meaning that if it is recognised as an object, it should automatically be wrapped with [] to allow the source to be properly read.

This should solve many peoples problems with bringing in JSON datasources to vMix.

Best regards

Jens Stigaard
thanks 1 user thanked stigaard for this useful post.
calamityjane on 5/6/2018(UTC)
DWAM  
#2 Posted : Friday, September 29, 2017 5:00:03 AM(UTC)
DWAM

Rank: Advanced Member

Groups: Registered
Joined: 3/20/2014(UTC)
Posts: 2,721
Man
France
Location: Bordeaux, France

Thanks: 243 times
Was thanked: 794 time(s) in 589 post(s)
+1
NiBTour  
#3 Posted : Saturday, September 30, 2017 6:15:40 AM(UTC)
NiBTour

Rank: Advanced Member

Groups: Registered
Joined: 3/28/2016(UTC)
Posts: 159
Man
United States
Location: SACRAMENTO

Thanks: 5 times
Was thanked: 19 time(s) in 18 post(s)
+100

i can't really use any data source because of the limitations or the time it would take to do a simple read with my setup. man even allowing multiple columns on a single line would be a game changer.

if it follows the .Net format rule it should be {0} {1} etc allowing me to have a few columns read on a single line. now if it can and i'm missing something let me know!

and yeah that JSON issue i hate and can't use any of my third-party tools because of it.

corporatejames  
#4 Posted : Saturday, September 30, 2017 8:33:13 AM(UTC)
corporatejames

Rank: Advanced Member

Groups: Registered
Joined: 8/2/2015(UTC)
Posts: 364
Man
Australia
Location: Sydney

Thanks: 283 times
Was thanked: 76 time(s) in 62 post(s)
+1
calamityjane  
#5 Posted : Sunday, May 6, 2018 4:20:44 PM(UTC)
calamityjane

Rank: Advanced Member

Groups: Registered
Joined: 9/26/2014(UTC)
Posts: 104
Man
Location: Canada

Thanks: 39 times
Was thanked: 5 time(s) in 5 post(s)
stigaard wrote:
Hi vMixers,

I love using datasources, and use it as much as I can get my hands on it, there is however one detail that annoys me a lot on using JSON data sources.

JSON datasources are generally wrapped as an JSON object (my assumption), meaning that the format is something like {...CONTENT...}.
HOWEVER - vMix is not currently setup to recognise this as useful content, since it expects an array of objects [{...CONTENT...}].

I therefore propose a change to the way JSON sources are read, enabling JSON datasources to be auto wrapped into an array, meaning that if it is recognised as an object, it should automatically be wrapped with [] to allow the source to be properly read.

This should solve many peoples problems with bringing in JSON datasources to vMix.

Best regards

Jens Stigaard


Hi Jens

Do you know if there has been any movement on this topic?

I am not a programmer nor a DB person, but....

I have access to several APIs to retrieve JSON data to populate my graphics. Most of these APIs do not function and I believe it is for the very reason you stated; my data is not formatted in arrays as mandated by vMix.

Is there a workaround in vMix to allow me to use this data ?

Thanks

Whit
bgbenni  
#6 Posted : Saturday, October 26, 2019 9:07:04 PM(UTC)
bgbenni

Rank: Advanced Member

Groups: Registered
Joined: 5/29/2018(UTC)
Posts: 76
Germany

Thanks: 25 times
Was thanked: 4 time(s) in 4 post(s)
+1
Rinsky  
#7 Posted : Wednesday, October 30, 2019 3:10:55 AM(UTC)
Rinsky

Rank: Advanced Member

Groups: Registered
Joined: 8/2/2013(UTC)
Posts: 462

Thanks: 38 times
Was thanked: 39 time(s) in 35 post(s)
+1
krassesPferd  
#8 Posted : Monday, April 26, 2021 6:24:50 AM(UTC)
krassesPferd

Rank: Advanced Member

Groups: Registered
Joined: 11/9/2013(UTC)
Posts: 78
Location: Berlin

Thanks: 8 times
Was thanked: 8 time(s) in 7 post(s)
+1

Users browsing this topic
Guest (2)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.