Skip to content

json2.Any support u32 #24337

Description

@Jengro777

Describe the feature

internal/logic/admin/menu/create_menu_logic.v:34:61: error: unknown method or field: x.json2.Any.u32.
17 possibilities: arr, as_map, as_map_of_strings, bool, f32, f64, i16, i32, i64, i8, int, json_str, prettify_json_str, str, to_time, u64, u8.

Use Case

u32

Proposed Solution

No response

Other Information

No response

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

Version used

V 0.4.10 d9b808c

Environment details (OS name and version, etc.)

V full version V 0.4.10 86536e4.d9b808c
OS linux, Deepin 23.1
Processor 6 cpus, 64bit, little endian, Intel(R) Core(TM) i5-8500B CPU @ 3.00GHz
Memory 0.54GB/7.61GB
V executable /home/Jengro/.vmr/versions/v_versions/v_latest/v
V last modified time 2025-04-27 00:07:58
V home dir OK, value: /home/Jengro/.vmr/versions/v_versions/v_latest
VMODULES OK, value: /home/Jengro/.vmodules
VTMP OK, value: /tmp/v_1000
Current working dir OK, value: /home/Jengro/.vmr/versions/v_versions/v_latest
Git version git version 2.47.2
V git status weekly.2025.16-51-gd9b808cd
.git/config present true
cc version cc (Deepin 12.3.0-17deepin12) 12.3.0
gcc version gcc (Deepin 12.3.0-17deepin12) 12.3.0
clang version Deepin clang version 17.0.6 (5deepin5)
tcc version tcc version 0.9.28rc 2025-02-13 HEAD@f8bd136d (x86_64 Linux)
tcc git status thirdparty-linux-amd64 696c1d84
emcc version N/A
glibc version ldd (Debian GLIBC 2.38-6deepin13+rb1) 2.38

Note

You can use the 👍 reaction to increase the issue's priority for developers.

Please note that only the 👍 reaction to the issue itself counts as a vote.
Other reactions and those to comments will not be taken into account.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Modules: x.json2Bugs related to *only* x.json2 (the pure V implementation)

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions