To control neopixels with only Arduino

Dear node-red masters,

스크린샷 2020-09-22 오후 5.07.32

I want to sort only the object values of the msg.payload.
( like screen shot )
I don't know how to do it. Do I have to write a json code?

[{"id":"a52d7073.b50de","type":"inject","z":"7a686238.28fe0c","name":"red","topic":"red","payload":"255","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":80,"wires":[["e0b98e26.a874b"]]},{"id":"6596ed9f.2dfd44","type":"ui_slider","z":"7a686238.28fe0c","name":"bright","label":"bright","tooltip":"","group":"28ce32ca.6666ce","order":1,"width":0,"height":0,"passthru":true,"outs":"all","topic":"bright","min":0,"max":"255","step":1,"x":250,"y":200,"wires":[["e0b98e26.a874b"]]},{"id":"6d92811f.1da2c","type":"inject","z":"7a686238.28fe0c","name":"green","topic":"green","payload":"255","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":120,"wires":[["e0b98e26.a874b"]]},{"id":"633bf742.204ed8","type":"inject","z":"7a686238.28fe0c","name":"blue","topic":"blue","payload":"255","payloadType":"num","repeat":"","crontab":"","once":false,"onceDelay":0.1,"x":250,"y":160,"wires":[["e0b98e26.a874b"]]},{"id":"e0b98e26.a874b","type":"join","z":"7a686238.28fe0c","name":"","mode":"custom","build":"object","property":"payload","propertyType":"msg","key":"topic","joiner":"\\n","joinerType":"str","accumulate":false,"timeout":"","count":"4","reduceRight":false,"reduceExp":"","reduceInit":"","reduceInitType":"","reduceFixup":"","x":430,"y":160,"wires":[["3c3f1189.82336e","4325745b.48b95c"]]},{"id":"4325745b.48b95c","type":"debug","z":"7a686238.28fe0c","name":"","active":true,"tosidebar":true,"console":false,"tostatus":false,"complete":"payload","targetType":"msg","x":590,"y":100,"wires":[]},{"id":"3c3f1189.82336e","type":"function","z":"7a686238.28fe0c","name":"Send payload","func":"msg.payload['object']","outputs":1,"noerr":0,"x":600,"y":160,"wires":[[]]},{"id":"28ce32ca.6666ce","type":"ui_group","z":"","name":"Neopixels","tab":"ed3a6401.cbcb38","order":1,"disp":true,"width":"6","collapse":false},{"id":"ed3a6401.cbcb38","type":"ui_tab","z":"","name":"brightness","icon":"dashboard","disabled":false,"hidden":false}]

My ultimate purpose is to connect neopixels without using MQTT.
I was not sure yet, so I tried to change the array to this format. {r,g,b,brightness}
So,this work may not help solve the problem.

How can I dim with Arduino without using MQTT?
For example... using a serial port.

I suspect that is not actually what you want to do, as an object cannot just be values like you show. What do you need this for? I suspect that actually you may need an array.

My ultimate purpose is to connect neopixels without using MQTT.
I was not sure yet, so I tried to change the array to this format. {r,g,b,brightness}

How can I dim with Arduino without using MQTT?
For example... using a serial port.

Well that is an entirely different question. I think you need to work out what you actually need to do with the data first. Perhaps a new thread titled so as to ask about your main requirement would be a good idea.

Thank you for your feedback.