Maps in string representation in Сontext

Open
#1,119 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
20/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
java
Domain
backend

Research direction

The issue names no files, tests, or entry points. Start by reproducing the sample context and checking how context values and expression lookups are currently handled. Done would require a confirmed supported approach, or a scoped implementation with tests showing map values can be accessed by keys.

Written by the indexing model from the issue text.

Description

Hello. Could you please tell me, is it possible to put Maps in the context as a string so it would be possible to access values by keys in expressions? If so, how do I do it?

For example, let's look at the sample context:
key1 -> { a: 's1', b: 's2' }
key2 -> {{ key1.a }}

Dominant language
Java
Stars
785
Forks
184
Avg merge
6d 22h
Merged PRs (30d)
1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from HubSpot/jinjava

All issues in HubSpot/jinjava

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.