Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Version 1
- let json = {
- flight: {
- ...
- },
- car: {
- type: "request"
- ...
- },
- hotel: null
- }
- // Version 2
- let json = [
- {
- product_id: 1,
- ...
- },
- {
- product_id: 2,
- type: "request"
- }
- ];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement