İş tamamlandı
Tamamlanma süresi: 36 saniye
Şartname
i am trying to write a function that takes a flat data format which uses a id and a parentId to establish relationships. I know I need to use recursion but I need help understanding how to get it in a specific JSON model.
Here is the flat source data, the id's are guids as you can see.
{"id":"e6168d55-1974-e411-80e0-005056971214","parentId":"","label":"OGC File List"}
{"id":"17168d55-1974-e411-80e0-005056971214","parentId":"e6168d55-1974-e411-80e0-005056971214","label":"Accounting"}
{"id":"h37s8d55-1974-e411-80e0-005056971214","parentId":"17168d55-1974-e411-80e0-005056971214","label":"Policy"}
{"id":"f8ke6d55-1974-e411-80e0-005056971214","parentId":"17168d55-1974-e411-80e0-005056971214","label":"Policy"}
Below is the model I need to create. I only need help with the properties id: inode: which indicates the node has children and the branch which is the array of child objects. Building the branches is what confounds me the most. I appreciate any assistance or direction in advance!
[
{
id: 'folder_1',
label: 'This is Folder 1',
inode: true,
open: false,
icon: 'folder'
branch:
[
{
id: 'sub-item_x',
label: 'This is File X',
inode: false,
icon: 'file'
},
...
]
},
{
id: 'file_1',
label: 'This is File 1',
inode: false,
icon: 'file'
},
...
]
Job Overview
Type Fixed-Price
Budget $25.00
Posted December 4 2014, 4:44 PM
Planned Start Dec. 4 2014
Delivery Date Dec. 5 2014
Visibility Public
Category Software Development
Sub-category Scripts & Utilities
Here is the flat source data, the id's are guids as you can see.
{"id":"e6168d55-1974-e411-80e0-005056971214","parentId":"","label":"OGC File List"}
{"id":"17168d55-1974-e411-80e0-005056971214","parentId":"e6168d55-1974-e411-80e0-005056971214","label":"Accounting"}
{"id":"h37s8d55-1974-e411-80e0-005056971214","parentId":"17168d55-1974-e411-80e0-005056971214","label":"Policy"}
{"id":"f8ke6d55-1974-e411-80e0-005056971214","parentId":"17168d55-1974-e411-80e0-005056971214","label":"Policy"}
Below is the model I need to create. I only need help with the properties id: inode: which indicates the node has children and the branch which is the array of child objects. Building the branches is what confounds me the most. I appreciate any assistance or direction in advance!
[
{
id: 'folder_1',
label: 'This is Folder 1',
inode: true,
open: false,
icon: 'folder'
branch:
[
{
id: 'sub-item_x',
label: 'This is File X',
inode: false,
icon: 'file'
},
...
]
},
{
id: 'file_1',
label: 'This is File 1',
inode: false,
icon: 'file'
},
...
]
Job Overview
Type Fixed-Price
Budget $25.00
Posted December 4 2014, 4:44 PM
Planned Start Dec. 4 2014
Delivery Date Dec. 5 2014
Visibility Public
Category Software Development
Sub-category Scripts & Utilities
Yanıtlandı
1
Derecelendirme
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
I would like to program a ninja trader strategy that involves a Cycle ID indicator. Can you take a look to see if you can program the indicator in a strategy? Let me know if you can do this
I’m looking for an experienced developer to build a MT5 EA that combines the following three strategies into a single system: Strategy 1 – H1 Zone Rejection (Pullback Entry) Identify the high and low of the H1 timeframe Enter trades when price reaches the H1 high/low zones Confirm entry using a bullish/bearish candle on the M15 timeframe Target a 1:2 risk-reward ratio Strategy 2 – Breakout & Retest Identify the H1
Hello, I have a Ctrader indicator with the source code, I was wondering if this possible to convert it to Quantower. Hello, I have a Ctrader indicator with the source code, I was wondering if tis possible to convert it to Quantower., i need an expert who can convert it perfectly
AI Trading MQL5: Maximizing Profit from a $10 Investment Achieving significant profits from a small initial capital like $10 in AI trading with MQL5 requires a highly strategic and disciplined approach. While the potential for exponential growth exists, it's crucial to manage expectations and understand the inherent risks. **Key Strategies for Small Capital AI Trading:** 1. **Low-Risk, High-Probability
Manage my money and make strategy add money in my bank account analys account trade for me convert money in to my accountNext, you need to describe all terms and concepts contained in the idea description. If trend is important for your strategy, clearly define what indicator should be used to determine the trend direction and strength. The numerical characteristics of these definitions form the basis of Expert
MT5 Expert Needed – Trade Replay EA (Simulation)
100 - 200 USD
Description: Looking for an experienced MQL5 developer to build an EA that: Reads MT5 trade history (DEALS format) Reconstructs trades using Position ID Replays trades in Strategy Tester (tick-based) Simulates trades internally Applies additional logic on top of trades Runs dual mode (original vs enhanced) Calculates MAE/MFE Shows trades visually on chart Outputs performance comparison Delivery required: same day
Combination of RSI and Moving averages
30 - 300 USD
I need a professional developer to help me create an EA using RSI and Moving averages.The strategies are well organised and everything is in order. I will send all the details in the inbox
MT5 M1 Scalping EA – Requirements (Short Brief)
30 - 54 USD
Build an MT5 EA focused on low-latency M1 scalping , where performance depends on execution quality (spread, slippage, commissions), not complex indicators. Core Idea M1 timeframe scalping only Short-term momentum + volatility-based entries Trade only in high liquidity sessions (London + NY) Avoid low volatility / Asian session conditions Execution Rules (Critical) Max spread filter (configurable) Max slippage filter
MT5 M1 Scalping EA – Requirements (Short Brief)
30 - 54 USD
Build an MT5 EA focused on low-latency M1 scalping , where performance depends on execution quality (spread, slippage, commissions), not complex indicators. Core Idea M1 timeframe scalping only Short-term momentum + volatility-based entries Trade only in high liquidity sessions (London + NY) Avoid low volatility / Asian session conditions Execution Rules (Critical) Max spread filter (configurable) Max slippage filter
Project Overview I need assistance coding a hedging Expert Advisor (EA) that operates in "closed cycles" with a strict limit of five simultaneous open positions . EA Logic & Mechanism Initial Entry: Open a Buy position of 0.01 lots (Position A) with a Take Profit (TP) target of $1.00. Scenario 1: Price Drops (Hedging Step 1): If the price moves against the first trade, open two positions simultaneously: a Sell 0.02
Proje bilgisi
Bütçe
10 - 30 USD
Son teslim tarihi
to 1 gün